diff options
author | Aaditya Bagga <aaditya_gnulinux@zoho.com> | 2019-10-19 10:56:48 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2019-10-19 10:56:48 +0700 |
commit | 119392d16f620777a000dbf34e46947c59efeb09 (patch) | |
tree | b94b9a7b969faa8c8ecfb7ba1a61f8554eaf51ac /system/daemontools-bin/README.Slackware | |
parent | 7b8c0065d150e1305d1f2f0d97f55812abf87573 (diff) |
system/daemontools-bin: Added (manage UNIX services).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
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 0000000000..918b78e99f --- /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. |