diff options
Diffstat (limited to 'sysutils/cfengine22/files/cfservd.in')
-rw-r--r-- | sysutils/cfengine22/files/cfservd.in | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/sysutils/cfengine22/files/cfservd.in b/sysutils/cfengine22/files/cfservd.in new file mode 100644 index 000000000000..068c43a32437 --- /dev/null +++ b/sysutils/cfengine22/files/cfservd.in @@ -0,0 +1,29 @@ +#!/bin/sh +# +# $FreeBSD$ +# +# PROVIDE: cfservd +# REQUIRE: SERVERS +# BEFORE: DAEMON +# KEYWORD: shutdown +# +# Add the following line to /etc/rc.conf[.local] to enable cfservd(8) +# +# cfservd_enable (bool): Set to "NO" by default. +# Set it to "YES" to enable cfservd. +# cfservd_flags (str): Custom additional arguments to be passed +# to cfservd (default empty). +# + +. /etc/rc.subr + +name="cfservd" +rcvar=cfservd_enable + +command="%%PREFIX%%/sbin/${name}" + +load_rc_config $name + +: ${cfservd_enable="NO"} + +run_rc_command "$1" |