diff options
Diffstat (limited to 'system/daemontools-bin/README.Slackware')
-rw-r--r-- | system/daemontools-bin/README.Slackware | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/system/daemontools-bin/README.Slackware b/system/daemontools-bin/README.Slackware new file mode 100644 index 0000000000000..918b78e99f564 --- /dev/null +++ b/system/daemontools-bin/README.Slackware @@ -0,0 +1,32 @@ +Service directory +----------------- + +Create /service directory where services to be run are linked. + +mkdir /service + +Running daemontools +------------------- + +svscanboot starts svscan in the /service directory. +There are several different ways to run it: + +1. Add the following to /etc/rc.d/rc.local + +if [ -x /usr/sbin/svscanboot ]; then + echo "Starting svscanboot" + /usr/sbin/svscanboot & +fi + +OR + +2. Add the following to the end of /etc/inittab + +SV:12345:respawn:/usr/sbin/svscanboot + +After doing either of the above, restart your system and check +that the svscan command is running. + +The difference between the rc.local and inittab versions is that +the inittab version is supervised by init, ie, in case svscan +dies due to some reason, init can restart it. |