openbsd-ports/sysutils/mcollective/pkg/mcollectived.rc
ajacoutot 49b82f7ce7 Use bundled modules since they are certified to work with that particular
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.
2013-03-13 22:54:26 +00:00

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