summaryrefslogtreecommitdiff
blob: 38fe9aee828728047d8a63b8bc609b553eda9ae6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/sbin/runscript
depend() {
        need net
	after icecreamscheduler
}

start() {
        ebegin "Starting Icecream daemon"
	start-stop-daemon --start --quiet --exec /opt/icecream/bin/iceccd -- -d -m 5 > /dev/null
        eend $?
}

stop() {
        ebegin "Stopping Icecream daemon"
        start-stop-daemon --stop --quiet --retry 5 --exec /opt/icecream/bin/iceccd
        eend $?
}