summaryrefslogtreecommitdiff
path: root/system/s6/README.Slackware
blob: 5842f3888df609978fb3986db722670d8afab4fa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Some hints for using this package alongside Slackware's default
init system:

I added the following to my /etc/inittab:

    # S6
    sv:12345:respawn:/bin/s6-svscanboot

Then did a 'telinit q' to start it.

Note that the default s6-svscanboot provided disables polling
(-t0). So after adding a new service to /service you should call:

    /bin/s6-svscanctl -a /service

where /service is a directory that contains all the services that
s6 will supervise. You can change it to other places such as
/etc/service, /var/service, etc. and edit the provided
/bin/s6-svscanboot script to change the scan directory to the new
service directory (i.e. change /service in the script to the new service
directory).