aboutsummaryrefslogtreecommitdiff
path: root/net/wgsd/files/wgsd-coredns.init
diff options
context:
space:
mode:
Diffstat (limited to 'net/wgsd/files/wgsd-coredns.init')
-rw-r--r--net/wgsd/files/wgsd-coredns.init12
1 files changed, 12 insertions, 0 deletions
diff --git a/net/wgsd/files/wgsd-coredns.init b/net/wgsd/files/wgsd-coredns.init
new file mode 100644
index 000000000..59421444d
--- /dev/null
+++ b/net/wgsd/files/wgsd-coredns.init
@@ -0,0 +1,12 @@
+#!/bin/sh /etc/rc.common
+
+START=99
+
+USE_PROCD=1
+PROG=/usr/bin/wgsd-coredns
+
+start_service() {
+ procd_open_instance
+ procd_set_param command "$PROG" -conf /etc/Corefile
+ procd_close_instance
+}