3 #Uncomment the line below to begin (mandatory)
6 #Below the user to run the service as (mandatory)
9 #Below the password on the XBOX (optional)
10 #REMOTEPASS="xboxpassword"
12 #Below the interface to listen on (mandatory)
13 LISTENINTERFACE="192.168.1.1"
18 #SERVERCOMMENT="Video and MP3 server powered by Gentoo. Watch and listen and ENJOY."
20 #Shares to make available (mandatory)
21 SHARES="movies=/data/videos audio=/data/mp3"
23 #Location of binary file. Leave default unless you know what you're doing (mandatory)
24 BIN="/usr/sbin/ccxstream"
26 #-----------------------------------------------------------------------------#
27 #-----------------------------------------------------------------------------#
31 PIDFILE=/var/run/ccxstream.pid
33 PARAMS="-f -F $PIDFILE -r $DIR -u $RUNASUSER"
35 if test "$FOLLOWSYMLINKS" = "YES" ; then
39 if test "x$REMOTEPASS" != "x" ; then
40 PARAMS="$PARAMS -P $REMOTEPASS"
43 if test "x$LISTENINTERFACE" != "x" ; then
44 PARAMS="$PARAMS -l $LISTENINTERFACE"
48 PARAMS="$PARAMS -S $i"
51 if test "x$SERVERCOMMENT" = "x" ; then
52 SERVERCOMMENT="$(hostname -f)"