#!/sbin/runscript depend() { need net } start() { ebegin "Starting Icecast 2" start-stop-daemon --background --start --pidfile /var/run/icecast.pid --make-pidfile --exec /usr/bin/icecast -- -c /etc/icecast2/icecast.xml eend $? } stop() { ebegin "Stopping Icecast 2" start-stop-daemon --stop --pidfile /var/run/icecast.pid --name icecast eend $? }