summary refs log tree commit diff
path: root/FreeBSD/catsitd.in
blob: 7dfa8a840b624fe2ff55d35cf4c9ba5e6aaedf50 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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"
notify.c?h=2.4&id=e598b55b212a1727834c09fdb4c6eb0bc4b0cda8&follow=1'>contrib/palaver: Implement command and notificationsJune McEnroe