blob: 62f8f95e6058d0cdae85ec008303e36726aae5b2 (
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="@VARBASE@/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
|