blob: 9ead7ab143076659b8fec8367ab416fe94f8cdb7 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#!/bin/execlineb -P
# SPDX-License-Identifier: EUPL-1.2
# SPDX-FileCopyrightText: 2020-2022 Alyssa Ross <hi@alyssa.is>
/bin/export PATH /bin
/bin/s6-setsid -qb --
umask 022
if { mount -t tmpfs -o mode=0755 tmpfs /run }
if { s6-hiercopy /etc/s6-linux-init/run-image /run }
emptyenv -p
background { s6-setsid -- /etc/s6-linux-init/scripts/rc.init }
unexport !
cd /run/service
s6-svscan
|