aboutsummaryrefslogtreecommitdiffstats
path: root/community/runit/runit.initd
diff options
context:
space:
mode:
Diffstat (limited to 'community/runit/runit.initd')
-rw-r--r--community/runit/runit.initd14
1 files changed, 14 insertions, 0 deletions
diff --git a/community/runit/runit.initd b/community/runit/runit.initd
new file mode 100644
index 0000000000..2f3a0968dc
--- /dev/null
+++ b/community/runit/runit.initd
@@ -0,0 +1,14 @@
+#!/sbin/openrc-run
+
+command="/sbin/runsvdir"
+command_args="/etc/service"
+pidfile="/run/${SVCNAME}.pid"
+command_background="true"
+description="starts and monitors a collection of runsv(8) processes"
+retry="SIGHUP/5"
+
+depend() {
+ need localmount
+ after firewall
+}
+