aboutsummaryrefslogtreecommitdiffstats
path: root/testing/peervpn/peervpn.initd
diff options
context:
space:
mode:
authorMarkus Juenemann <markus@juenemann.net>2017-01-17 01:26:06 +0000
committerTimo Teräs <timo.teras@iki.fi>2017-02-08 07:32:50 +0000
commitf08d82b05040abbdc93e93d094e430afc5de76d2 (patch)
tree7341ae0e929c5c11616a29aad7bc8d67a1c73650 /testing/peervpn/peervpn.initd
parentc7a2ec16f5a00db80e0f0ca2c14965ef72f5454d (diff)
downloadaports-f08d82b05040abbdc93e93d094e430afc5de76d2.tar.gz
aports-f08d82b05040abbdc93e93d094e430afc5de76d2.tar.bz2
aports-f08d82b05040abbdc93e93d094e430afc5de76d2.tar.xz
testing/peervpn: new aport
Adding peervpn (https://peervpn.net) package.
Diffstat (limited to 'testing/peervpn/peervpn.initd')
-rw-r--r--testing/peervpn/peervpn.initd17
1 files changed, 17 insertions, 0 deletions
diff --git a/testing/peervpn/peervpn.initd b/testing/peervpn/peervpn.initd
new file mode 100644
index 0000000000..2f631ba4eb
--- /dev/null
+++ b/testing/peervpn/peervpn.initd
@@ -0,0 +1,17 @@
+#!/sbin/openrc-run
+
+# Sample init.d file for alpine linux.
+
+name=peervpn
+command="/usr/sbin/$name"
+command_args="/etc/$name.conf"
+command_background="yes"
+
+# peervpn does not daemonize itself.
+start_stop_daemon_args="--stdout=/var/log/$name.log --stderr=/var/log/$name.log"
+pidfile="/run/$name.pid"
+
+depend() {
+ need net
+ after firewall
+}