diff options
author | Francesco Colista <francesco.colista@gmail.com> | 2013-06-12 12:36:51 +0000 |
---|---|---|
committer | Francesco Colista <francesco.colista@gmail.com> | 2013-06-12 12:36:51 +0000 |
commit | d974a1e91a8d6727c482091a027ae5843257b1ed (patch) | |
tree | e094faae784bf5c416009a7f75ea66befc8eba10 /unmaintained/calibre/calibre.initd | |
parent | 6830cce2141bc5dde856a7e9cecda6a257196499 (diff) | |
download | aports-d974a1e91a8d6727c482091a027ae5843257b1ed.tar.bz2 aports-d974a1e91a8d6727c482091a027ae5843257b1ed.tar.xz |
testing/calibre: moved to unmaintained
Diffstat (limited to 'unmaintained/calibre/calibre.initd')
-rw-r--r-- | unmaintained/calibre/calibre.initd | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/unmaintained/calibre/calibre.initd b/unmaintained/calibre/calibre.initd new file mode 100644 index 0000000000..25117ed375 --- /dev/null +++ b/unmaintained/calibre/calibre.initd @@ -0,0 +1,17 @@ +#!/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() { + ebegin "Stopping Calibre Server" + start-stop-daemon --stop --quiet --retry=TERM/30/KILL/5 --pidfile $PIDFILE + eend $? +} |