NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
erikkramer
Sep 11, 2011Aspirant
CouchPotato and SickBeard
I'd like to share with you the way I got CouchPotato and SickBeard to work on my ReadyNAS Duo. It's FYI and please inform me if I'm abusing my ReadyNAS too much. My goal was to get both programs wo...
polux400
Jan 25, 2013Aspirant
hello,
Thank you for your answer WhoCares? (and all your add on btw!).
My script is :
is anything wrong with the daemon process in my script ?
i just change the paths.
thanks
polux
Thank you for your answer WhoCares? (and all your add on btw!).
My script is :
# Author: RuudBurger
# Edited by: daemox
# Details: Cleaned up script to make it easier to enter in the USER info for the guide on Ainer.org.
# Last updated: August 3, 2011
### BEGIN INIT INFO
# Provides: CouchPotato application instance
# Required-Start: $local_fs $network $remote_fs
# Required-Stop: $local_fs $network $remote_fs
# Should-Start: $NetworkManager
# Should-Stop: $NetworkManager
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: starts instance of CouchPotato
# Description: starts instance of CouchPotato using start-stop-daemon
### END INIT INFO
#Required -- Must be changed!
USER="root" #Set Ubuntu or Linux Mint username here.
#Required -- Defaults provided (only change if you know you need to!).
DAEMON=python /c/home/CouchPotatoServer-master/CouchPotato.py
DAEMON_OPTS=" CouchPotato.py -q"
NAME=couchpotato
DESC=CouchPotato
PID_FILE=/var/run/couchpotato.pid
#Script -- No changes should be needed below!
test -x $DAEMON || exit 0
set -e
case "$1" in
start)
echo "Starting $DESC"
start-stop-daemon -d /home/$USER/.couchpotato -c $USER --start --background --pidfile $PID_FILE --make-pidfile --exec $DAEMON -- $DAEMON_OPTS
;;
stop)
echo "Stopping $DESC"
start-stop-daemon --stop --pidfile $PID_FILE
;;
restart|force-reload)
echo "Restarting $DESC"
start-stop-daemon --stop --pidfile $PID_FILE
sleep 15
start-stop-daemon -d /home/$USER/.couchpotato -c $USER --start --background --pidfile $PID_FILE --make-pidfile --exec $DAEMON -- $DAEMON_OPTS
;;
*)
N=/etc/init.d/$NAME
echo "Usage: $N {start|stop|restart|force-reload}" >&2
exit 1
;;
esac
exit 0
is anything wrong with the daemon process in my script ?
i just change the paths.
thanks
polux
Related Content
NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!