9 stat_busy
"Starting Icecream Scheduler Daemon"
11 if test -n "$ICECREAM_NETNAME"; then
12 netname
="-n $ICECREAM_NETNAME"
15 if test -n "$ICECREAM_LOG_FILE"; then
16 touch $ICECREAM_LOG_FILE
17 chown icecream
:icecream
$ICECREAM_LOG_FILE
18 logfile
="-l $ICECREAM_LOG_FILE"
20 /opt
/icecream
/sbin
/scheduler
-d $netname $logfile &>/dev
/null
24 add_daemon icecream-scheduler
29 stat_busy
"Stopping Icecream Scheduler Daemon"
30 killall
/opt
/icecream
/sbin
/scheduler
> /dev
/null
2>&1 || true
34 rm_daemon icecream-scheduler
44 echo "usage: $0 {start|stop|restart}"