aboutsummaryrefslogtreecommitdiffstats
path: root/testing/jool-tools/joold.initd
diff options
context:
space:
mode:
Diffstat (limited to 'testing/jool-tools/joold.initd')
-rw-r--r--testing/jool-tools/joold.initd14
1 files changed, 14 insertions, 0 deletions
diff --git a/testing/jool-tools/joold.initd b/testing/jool-tools/joold.initd
new file mode 100644
index 0000000000..c934d0b636
--- /dev/null
+++ b/testing/jool-tools/joold.initd
@@ -0,0 +1,14 @@
+#!/sbin/openrc-run
+
+: ${cfgfile:="/etc/$RC_SVCNAME-socket.json"}
+
+command="/usr/bin/joold"
+command_args="$cfgfile"
+command_background=yes
+
+pidfile="/run/$RC_SVCNAME.pid"
+required_files="$cfgfile"
+
+depend() {
+ need net
+}