diff options
author | Laurent Bercot <ska-devel@skarnet.org> | 2017-06-07 15:21:44 +0200 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2017-06-07 14:22:11 +0000 |
commit | b05a85c9e082e7866a3fd22aa05f3a5c87879c26 (patch) | |
tree | 93b48bf6224cae55cf5150b79b37ffd713e35926 /main/s6/s6.initd | |
parent | 1473297ec96ceba75e6f162dd1ac0fa361b1fccd (diff) | |
download | aports-b05a85c9e082e7866a3fd22aa05f3a5c87879c26.tar.bz2 aports-b05a85c9e082e7866a3fd22aa05f3a5c87879c26.tar.xz |
main/s6: add policy files
Diffstat (limited to 'main/s6/s6.initd')
-rw-r--r-- | main/s6/s6.initd | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/main/s6/s6.initd b/main/s6/s6.initd new file mode 100644 index 0000000000..9f984cc135 --- /dev/null +++ b/main/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" |