#!/bin/sh # # icecast.service - icecast service file # case $1 in start) icecast -c /etc/icecast.xml -b ;; stop) kill -9 `pidof icecast` ;; *) echo "usage: $0 start|stop" ;; esac # EOF