5 CONFIG
="etc/cherryd-tvweb.conf"
7 export PYTHONPATH
=`pwd`
11 Usage: `basename $0` [-i|-log|--help]
12 -i import some other module
13 -log log into cherryd.log and put itself to background
14 --help this help screen
36 [ -f $PID ] && kill `cat $PID`
37 echo "cherrypy/cherryd --config=$CONFIG --import=$IMPORT --pidfile=$PID -f"
39 if [ $LOG == "1" ]; then
40 cherrypy
/cherryd
--config=$CONFIG --import=$IMPORT --pidfile=$PID -f >cherryd.log
2>&1 &
42 cherrypy
/cherryd
--config=$CONFIG --import=$IMPORT --pidfile=$PID -f