diff options
Diffstat (limited to 'testing/aconf/aconf.initd')
-rw-r--r-- | testing/aconf/aconf.initd | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/testing/aconf/aconf.initd b/testing/aconf/aconf.initd new file mode 100644 index 000000000..38334fbf5 --- /dev/null +++ b/testing/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 $? +} |