summaryrefslogtreecommitdiff
path: root/examples/rc.init
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2015-10-13 16:05:05 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2015-10-13 16:05:05 +0000
commite00d2c4d88c90ccc6d091bde07d412936f8886d3 (patch)
tree21ccec11c0b36dab9f3284a311193821b3dfc700 /examples/rc.init
parent49352128c1a9dfc15a4bd29530d68a4b241909e6 (diff)
downloads6-linux-init-e00d2c4d88c90ccc6d091bde07d412936f8886d3.tar.xz
- added stage2_finish support
- s6 dep bumped to 2.2.2.0
Diffstat (limited to 'examples/rc.init')
-rwxr-xr-xexamples/rc.init4
1 files changed, 4 insertions, 0 deletions
diff --git a/examples/rc.init b/examples/rc.init
new file mode 100755
index 0000000..e0b2b72
--- /dev/null
+++ b/examples/rc.init
@@ -0,0 +1,4 @@
+#!/bin/execlineb -P
+
+if { s6-rc-init /run/service }
+s6-rc -u change ok-all