summaryrefslogtreecommitdiff
path: root/system/s6/s6.initd
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-06-15 00:38:04 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-06-15 00:38:04 -0500
commita12b74b878220dc796e4e4cb44d277466212113e (patch)
tree316df4c4563fa18a4104cf6f38ea04ad3f80caad /system/s6/s6.initd
parent0a4f8dbe950b88c078c79fbd57e6bc7f3cdd5962 (diff)
downloadpackages-a12b74b878220dc796e4e4cb44d277466212113e.tar.gz
packages-a12b74b878220dc796e4e4cb44d277466212113e.tar.bz2
packages-a12b74b878220dc796e4e4cb44d277466212113e.tar.xz
packages-a12b74b878220dc796e4e4cb44d277466212113e.zip
system/s6: new package
Diffstat (limited to 'system/s6/s6.initd')
-rw-r--r--system/s6/s6.initd15
1 files changed, 15 insertions, 0 deletions
diff --git a/system/s6/s6.initd b/system/s6/s6.initd
new file mode 100644
index 000000000..9f984cc13
--- /dev/null
+++ b/system/s6/s6.initd
@@ -0,0 +1,15 @@
+#!/sbin/openrc-run
+# Copyright 2016 Laurent Bercot
+# Distributed under the terms of the ISC License.
+#
+# We currently start the supervision tree under OpenRC because
+# it's easy integration. It's not perfect: the supervision tree
+# should ideally be rooted in process 1, and here it's not.
+# But it's only temporary: in a later Alpine release, s6-svscan
+# will *be* process 1.
+
+name="s6"
+command="/lib/s6/s6-svscanboot"
+command_args="/run/service"
+pidfile="/run/s6.pid"
+start_stop_daemon_args="-b -m -k 022"