summaryrefslogtreecommitdiff
path: root/init.d.in/dnscrypt-proxy.in
diff options
context:
space:
mode:
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
+}