Updated mcollective.init according to OSCI-658
[packages/precise/mcollective.git] / ext / openbsd / port-files / mcollective / pkg / mcollectived.rc
diff --git a/ext/openbsd/port-files/mcollective/pkg/mcollectived.rc b/ext/openbsd/port-files/mcollective/pkg/mcollectived.rc
new file mode 100644 (file)
index 0000000..7b6de9d
--- /dev/null
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+daemon="${TRUEPREFIX}/sbin/mcollectived"
+
+. /etc/rc.d/rc.subr
+
+pexp=".*ruby.* ${daemon}${daemon_flags:+ ${daemon_flags}}"
+rc_reload=NO
+
+rc_cmd $1