summaryrefslogtreecommitdiff
path: root/system/s6/README.Slackware
blob: 2034e10e98ef4c7f06866ee9278e6f661d8af704 (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:/sbin/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
/sbin/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).