summaryrefslogtreecommitdiff
path: root/files/etc/init.d/s6
diff options
context:
space:
mode:
Diffstat (limited to 'files/etc/init.d/s6')
-rw-r--r--files/etc/init.d/s618
1 files changed, 18 insertions, 0 deletions
diff --git a/files/etc/init.d/s6 b/files/etc/init.d/s6
new file mode 100644
index 0000000..59de3fa
--- /dev/null
+++ b/files/etc/init.d/s6
@@ -0,0 +1,18 @@
+#!/usr/bin/env /lib/init/init-d-script
+
+### BEGIN INIT INFO
+# Provides: s6
+# Required-Start: $remote_fs $syslog nftables
+# Required-Stop: $remote_fs $syslog nftables
+# Default-Start: 2 3 4 5
+# Default-Stop: 0 1 6
+# Short-Description: Start s6 service supervision suite
+# Description: Start s6 service supervision suite
+### END INIT INFO
+
+DAEMON="/usr/local/bin/s6-svscanboot"
+DAEMON_ARGS="/etc/s6-services"
+
+do_stop_cmd_override() {
+ /usr/bin/s6-svscanctl -t /etc/s6-services/
+}