mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-22 19:44:21 +01:00
2a88d0b1fe
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
21 lines
708 B
Text
21 lines
708 B
Text
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).
|