2010-07-31, 22:35
I am now using a live version of Ubuntu the XBMC-Freak version I have sucessfully installed couch potato, Sabnzbdplus and sickbeard, Sabnzbplus and sick beard are auto starting as I can access them from http://ipaddres:port but CP is not auto starting I can start it by typing this in putty
/etc/init.d/couchpotato start -d not sure if I need the -d or not but it works just fine
here is what my /etc/init.d/couchpotato script looks like
after typing that I am able to load up CP in my web browser
i have no error in my /couchpotato/log/couchpotato.log file
-=Jason=-
/etc/init.d/couchpotato start -d not sure if I need the -d or not but it works just fine
here is what my /etc/init.d/couchpotato script looks like
Code:
#! /bin/sh
### BEGIN SCRIPT INFO
# Provides: Episode Butler Start/Stop
# Copied by Ainer.org from http://forums.sabnzbd.org/index.php?topic=2013.0
# Written by Tret on April 17, 2009
# Modified by Ainer on March 26, 2010
# Modified by Ainer on March 31, 2010
### END SCRIPT INFO
USER="xbmc"
HOME="/usr/local/sbin/couchpotato/"
SB_IP="localhost:5000"
SB_USER=""
SB_PASS=""
case "$1" in
start)
echo "Starting Couch Potato"
#find /net/server.local/tank/Movies > /dev/null
cd /usr/local/sbin/couchpotato/
/usr/bin/sudo -u $USER -H python /usr/local/sbin/couchpotato/CouchPotato.py -d & > /dev/null 2>&1
;;
stop)
echo "Shutting down Couch Potato."
/usr/bin/wget -q delete-after "http://$SB_IP/config/exit/"
;;
*)
echo "Usage: $0 {start|stop}"
exit 1
esac
exit 0
~
(END)
i have no error in my /couchpotato/log/couchpotato.log file
-=Jason=-