blob: 2b47870678e0f336389b29e17136389ac7a3d4ea (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#!/bin/sh
# PROVIDE: bitlbee
# REQUIRE: DAEMON
. /etc/rc.subr
name="bitlbee"
rcvar=$name
command="@PREFIX@/sbin/bitlbee"
pidfile="/var/run/${name}.pid"
command_args="-D" # run as a daemon
if [ -f /etc/rc.subr ]; then
load_rc_config $name
run_rc_command "$1"
else
echo -n "${name}"
${command} ${bitlbee_flags} ${command_args}
fi
|