diff options
Diffstat (limited to 'FreeBSD/catsitd.in')
-rw-r--r-- | FreeBSD/catsitd.in | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/FreeBSD/catsitd.in b/FreeBSD/catsitd.in new file mode 100644 index 0000000..7dfa8a8 --- /dev/null +++ b/FreeBSD/catsitd.in @@ -0,0 +1,21 @@ +#!/bin/sh + +# PROVIDE: catsitd +# REQUIRE: LOGIN +# KEYWORD: shutdown + +. /etc/rc.subr + +name="catsitd" +rcvar="${name}_enable" +extra_commands="reload" + +load_rc_config $name + +: ${catsitd_enable:="NO"} + +command="%%PREFIX%%/sbin/${name}" +pidfile="/var/run/${name}.pid" +command_args="-p ${pidfile}" + +run_rc_command "$1" |