5 .
/etc
/conf.d
/sickbeard
9 stat_busy
"Starting Sick-Beard"
11 if [ -f /var
/run
/daemons
/sickbeard
]; then
12 echo -n "Sickbeard is already running as a daemon! If you are certain it is not running, remove /var/run/daemons/sickbeard."
15 su
- $SB_USER -c "$SB_PYTHON $SB_BIN -q -d --data $SB_DATA --config $SB_CONF --port $SB_PORT" -s /bin
/sh
25 stat_busy
"Stopping Sick-Beard"
28 wget
-q --delete-after $SB_PROTOCOL://127.0.0.1:$SB_PORT/home
/shutdown
/ &> /dev
/null
29 if [ "${?}" -gt 0 ]; then
42 echo "usage: ${0} {start|stop|restart}"