Thanks for the great program!
#!/bin/bash
#script to run roku server
ROKUDIR=/home/charlie/netguy204-roku_media_server-25aaa89/server
ROKUSCRIPT=rss_server.py
case "$1" in
start)
cd $ROKUDIR
python $ROKUDIR/$ROKUSCRIPT
;;
stop)
pkill -9 -f rss_server.py || true
;;
restart|force-reload)
$0 stop
$0 start
;;
*)
echo "Usage: $NAME {start|stop|restart|force-reload}" >&2
exit 3
;;
esac
:
--
You received this message because you are subscribed to the Google Groups "MyMedia Roku Developers" group.
To post to this group, send email to mymedia-rok...@googlegroups.com.
To unsubscribe from this group, send email to mymedia-roku-deve...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/mymedia-roku-developers?hl=en.