summaryrefslogtreecommitdiff
path: root/files/etc
diff options
context:
space:
mode:
authorHendrik Jäger <gitcommit@henk.geekmail.org>2022-04-20 14:06:19 +0200
committerHendrik Jäger <gitcommit@henk.geekmail.org>2022-05-22 19:29:02 +0200
commit6695957284364e91c83f013086dd6aaa7b9efb4f (patch)
treeb5356dab57d5254f9a6c0e1996d31d23a36aef88 /files/etc
initial
Diffstat (limited to 'files/etc')
-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/
+}