aboutsummaryrefslogtreecommitdiffstats
path: root/testing/zerotier-one/zerotier-one.initd
diff options
context:
space:
mode:
authorKyle Parisi <kyle@getsidecar.com>2016-11-16 20:08:29 -0500
committerCarlo Landmeter <clandmeter@gmail.com>2016-11-17 14:17:30 +0100
commit8806e9068e791f169a77d04411cc4a297441bf3d (patch)
treecbc21e8bb73ae68de3262d2a61356aae466ad2e1 /testing/zerotier-one/zerotier-one.initd
parent624a674b7324631bfd101e2cd7efc6ca2deb7db6 (diff)
downloadaports-8806e9068e791f169a77d04411cc4a297441bf3d.tar.bz2
aports-8806e9068e791f169a77d04411cc4a297441bf3d.tar.xz
testing/zerotier-one: new aport
Diffstat (limited to 'testing/zerotier-one/zerotier-one.initd')
-rw-r--r--testing/zerotier-one/zerotier-one.initd9
1 files changed, 9 insertions, 0 deletions
diff --git a/testing/zerotier-one/zerotier-one.initd b/testing/zerotier-one/zerotier-one.initd
new file mode 100644
index 0000000000..22ab0712ed
--- /dev/null
+++ b/testing/zerotier-one/zerotier-one.initd
@@ -0,0 +1,9 @@
+#!/sbin/openrc-run
+
+depend() {
+ need net
+}
+
+command="/usr/sbin/zerotier-one"
+command_background="yes"
+pidfile="/run/$RC_SVCNAME.pid"