6 PID
=`pidof -o %PPID /usr/bin/icecast`
9 stat_busy
"Starting Icecast Server"
10 [ -z "$PID" ] && /usr
/bin
/icecast
-b -c /etc
/icecast
/icecast.xml
&> /dev
/null
19 stat_busy
"Stopping Icecast Server"
20 [ ! -z "$PID" ] && kill $PID &> /dev
/null
29 stat_busy
"Reloading Icecast Server configuration"
30 [ ! -z "$PID" ] && kill -HUP $PID &> /dev
/null
31 if [ -z "$PID" ]; then
43 echo "usage: $0 {start|stop|reload|restart}"