49b82f7ce7
version of mcollective. Force ruby 1.8; version 1.9 is not functionnal yet. Simplify patching the config files by using a regex. Use BSD_INSTALL_* Use $RUBY in the rc script. Take maintainer. More work to come, so still not hooked to the build.
13 lines
228 B
Bash
13 lines
228 B
Bash
#!/bin/sh
|
|
#
|
|
# $OpenBSD: mcollectived.rc,v 1.2 2013/03/13 22:54:26 ajacoutot Exp $
|
|
|
|
daemon="${TRUEPREFIX}/sbin/mcollectived"
|
|
|
|
. /etc/rc.d/rc.subr
|
|
|
|
pexp="${RUBY} ${daemon}${daemon_flags:+ ${daemon_flags}}"
|
|
rc_reload=NO
|
|
|
|
rc_cmd $1
|