summaryrefslogtreecommitdiff
path: root/files/etc/init.d/s6
blob: 59de3faf43ec13c8dd92bd3e02de02571e5078e4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/env /lib/init/init-d-script

### BEGIN INIT INFO
# Provides:          s6
# Required-Start:    $remote_fs $syslog nftables
# Required-Stop:     $remote_fs $syslog nftables
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
# Short-Description: Start s6 service supervision suite
# Description:       Start s6 service supervision suite
### END INIT INFO

DAEMON="/usr/local/bin/s6-svscanboot"
DAEMON_ARGS="/etc/s6-services"

do_stop_cmd_override() {
	/usr/bin/s6-svscanctl -t /etc/s6-services/
}