diff options
author | Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> | 2014-07-11 15:53:26 +0300 |
---|---|---|
committer | Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> | 2014-07-11 15:53:26 +0300 |
commit | 15dc9d67da3baaba547994fca07248ad202e80cc (patch) | |
tree | f5ba43b5b2f949892c46cb962ae2e6c210d3b4f0 /main/aconf/aconf.initd | |
parent | 22b4d9f5e400b61dad560d5a1e7a27acbac9b0e2 (diff) | |
download | aports-15dc9d67da3baaba547994fca07248ad202e80cc.tar.bz2 aports-15dc9d67da3baaba547994fca07248ad202e80cc.tar.xz |
main/aconf: moved from testing (with dependencies)
Diffstat (limited to 'main/aconf/aconf.initd')
-rw-r--r-- | main/aconf/aconf.initd | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/main/aconf/aconf.initd b/main/aconf/aconf.initd new file mode 100644 index 0000000000..38334fbf5f --- /dev/null +++ b/main/aconf/aconf.initd @@ -0,0 +1,19 @@ +#!/sbin/runscript + +# init.d file for aconf +# Copyright (c) 2013-2014 Kaarle Ritvanen + +name=aconf +command=/usr/sbin/aconfd +pidfile=/var/run/$name.pid + +depend() { + need net + after firewall +} + +stop() { + ebegin "Stopping $name" + start-stop-daemon --stop --pidfile $pidfile --signal INT + eend $? +} |