summaryrefslogtreecommitdiff
path: root/init.d.in/dnscrypt-proxy.in
diff options
context:
space:
mode:
authorDavid Phillips <david@sighup.nz>2017-10-17 00:48:24 +1300
committerDavid Phillips <david@sighup.nz>2017-10-17 00:48:24 +1300
commit8191d359944bf4e8f922a36cd04b3ac7165e4953 (patch)
treeb5d6b20a0016cbbbc67c4a936863d8acb5627b37 /init.d.in/dnscrypt-proxy.in
parent699efccc4670338e1cf632e1bf515f431b9ffed7 (diff)
downloadinitscripts-8191d359944bf4e8f922a36cd04b3ac7165e4953.tar.xz
Add dnscrypt-proxy initscripts
Diffstat (limited to 'init.d.in/dnscrypt-proxy.in')
-rwxr-xr-xinit.d.in/dnscrypt-proxy.in12
1 files changed, 12 insertions, 0 deletions
diff --git a/init.d.in/dnscrypt-proxy.in b/init.d.in/dnscrypt-proxy.in
new file mode 100755
index 0000000..b4a5334
--- /dev/null
+++ b/init.d.in/dnscrypt-proxy.in
@@ -0,0 +1,12 @@
+#!@OPENRC_RUN@
+
+pidfile=/run/dnscrypt-proxy.pid
+command="@BINDIR@dnscrypt-proxy"
+command_args="${CONFIG_FILE}"
+command_background=yes
+
+depend() {
+ need net
+ use logger
+ provide dns
+}