diff options
author | Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> | 2013-10-08 22:41:31 +0300 |
---|---|---|
committer | Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> | 2013-10-08 22:41:31 +0300 |
commit | 5ae884091ec906cacb17e52c1a1d5ffcdd7e7a52 (patch) | |
tree | 97c50feae941ecad153df84dbf0ec70d443e0730 /testing/acf2/acf2.initd | |
parent | 90230df2af006069a5a221c7b1e55465d10442c5 (diff) | |
download | aports-5ae884091ec906cacb17e52c1a1d5ffcdd7e7a52.tar.bz2 aports-5ae884091ec906cacb17e52c1a1d5ffcdd7e7a52.tar.xz |
testing/acf2: new package
Diffstat (limited to 'testing/acf2/acf2.initd')
-rw-r--r-- | testing/acf2/acf2.initd | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/testing/acf2/acf2.initd b/testing/acf2/acf2.initd new file mode 100644 index 0000000000..f0525c08fd --- /dev/null +++ b/testing/acf2/acf2.initd @@ -0,0 +1,19 @@ +#!/sbin/runscript + +# init.d file for acf2 +# Copyright (c) 2013 Kaarle Ritvanen + +name=acf2 +command=/usr/sbin/$name +pidfile=/var/run/$name.pid + +depend() { + need net + after firewall +} + +stop() { + ebegin "Stopping $name" + start-stop-daemon --stop --pidfile $pidfile --signal INT + eend $? +} |