8 stat_busy
"Starting Sick Beard"
10 if [ -f /var
/run
/daemons
/sickbeard
]; then
11 echo -n "Sick Beard is already running as a daemon!"
14 su
- sickbeard
-c "python2 /opt/sickbeard/SickBeard.py &> /dev/null &" -s /bin
/sh
24 stat_busy
"Stopping Sick Beard"
26 curl
-f http
://localhost
:8081/home
/shutdown
/ &> /dev
/null
41 echo "usage: $0 {start|stop|restart}"