aboutsummaryrefslogtreecommitdiffstats
path: root/community/dante/sockd.initd
diff options
context:
space:
mode:
Diffstat (limited to 'community/dante/sockd.initd')
-rw-r--r--community/dante/sockd.initd19
1 files changed, 19 insertions, 0 deletions
diff --git a/community/dante/sockd.initd b/community/dante/sockd.initd
new file mode 100644
index 00000000000..f77df213eea
--- /dev/null
+++ b/community/dante/sockd.initd
@@ -0,0 +1,19 @@
+#!/sbin/openrc-run
+#
+# startup script for sockd daemon
+#
+
+depend() {
+ need net
+ after firewall
+ provide sockd
+ use dns
+}
+
+command=/usr/sbin/sockd
+pidfile=/var/run/${SVCNAME}.pid
+command_args="${SOCKD_OPTS}"
+
+start_pre() {
+ $command -V
+}