f67269202e
I'm expecting to also have an OpenBSD rc script.
22 lines
311 B
Bash
22 lines
311 B
Bash
#!/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"
|