blob: 92986a9a7e79657e8ef06f2d1fe4636077e9652f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#!/sbin/runscript
depend() {
need net
after firewall
}
start() {
ebegin "Starting Calibre Server"
start-stop-daemon --start --quiet --pidfile $PIDFILE --exec $DAEMON -- $DAEMON_ARGS
eend $?
}
stop() {
start-stop-daemon --stop --quiet --retry=TERM/30/KILL/5 --pidfile $PIDFILE
rm -f $PIDFILE
}
|