diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2013-11-21 10:27:20 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2013-11-21 10:27:20 +0000 |
commit | f6ba5a7b8ec1443fd72ed4880a2402a16b4cdf19 (patch) | |
tree | 2c7fb8dae5bc09b1b881786a0eaf562e534e4351 /testing/fwknop/fwknopd.initd | |
parent | d2a456191a9d38342969971e40dc56b7bd70733d (diff) | |
download | aports-f6ba5a7b8ec1443fd72ed4880a2402a16b4cdf19.tar.bz2 aports-f6ba5a7b8ec1443fd72ed4880a2402a16b4cdf19.tar.xz |
testing/fwknop: new aport
A Single Packet Authorization (SPA) implementation
http://www.cipherdyne.org/fwknop/
Diffstat (limited to 'testing/fwknop/fwknopd.initd')
-rw-r--r-- | testing/fwknop/fwknopd.initd | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/testing/fwknop/fwknopd.initd b/testing/fwknop/fwknopd.initd new file mode 100644 index 0000000000..fe513f0914 --- /dev/null +++ b/testing/fwknop/fwknopd.initd @@ -0,0 +1,9 @@ +#!/sbin/runscript + +pidfile="/var/run/fwknop/fwknopd.pid" +command=/usr/sbin/fwknopd +command_args="--pid-file $pidfile $fwknopd_args" + +start_pre() { + checkpath --directory ${pidfile%/*} +} |