aboutsummaryrefslogtreecommitdiffstats
path: root/s6-linux-init/scripts/rc.init
blob: b34a2efc5d5e2064bee6f7b7e667df7491e0599b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!@shebangdir@/execlineb -WS1

# ISC license.

if -x0 -n { eltest -d /run//s6-rc }
foreground { echo "\ninit!\n" }
if {
	s6-rc-init
		-c /etc/goetia/system/compiled
	   	-l /run//system/s6-rc
	   	/run//system/service
}
foreground { echo "\nStarting bundle ${1}...\n" }
s6-rc -b -l /run//system/s6-rc -v2 -t10000 -up change ${1}