aboutsummaryrefslogtreecommitdiffstats
path: root/testing/fwknop/fwknopd.initd
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2013-11-21 10:27:20 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2013-11-21 10:27:20 +0000
commitf6ba5a7b8ec1443fd72ed4880a2402a16b4cdf19 (patch)
tree2c7fb8dae5bc09b1b881786a0eaf562e534e4351 /testing/fwknop/fwknopd.initd
parentd2a456191a9d38342969971e40dc56b7bd70733d (diff)
downloadaports-f6ba5a7b8ec1443fd72ed4880a2402a16b4cdf19.tar.gz
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.initd9
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%/*}
+}