3 # ices This shell script takes care of starting and stopping
7 # description: edna allows you to access your MP3 collection from any
8 # networked computer. This software streams your MP3s via
9 # HTTP to any MP3 player that supports playing off a remote
10 # connection (e.g. Winamp, FreeAmp, Sonique, XMMS).
12 # Source function library.
13 . /etc/rc.d/init.d/functions
15 # Source networking configuration.
16 . /etc/sysconfig/network
18 # Check that networking is up.
19 if is_yes "${NETWORKING}"; then
20 if [ ! -f /var/lock/subsys/network ]; then
28 # See how we were called.
33 export PYTHONPATH=/usr/lib/edna
35 exec python /usr/bin/edna /etc/edna/edna.conf 2> /dev/null &
37 touch /var/lock/subsys/edna
42 killproc edna 2> /dev/null
43 rm -f /var/lock/subsys/edna
53 msg_usage "$0 {start|stop|restart|reload|status}"