summaryrefslogtreecommitdiff
path: root/system/daemontools/README.SBo
diff options
context:
space:
mode:
authorDuncan Roe <duncan_roe@optusnet.com.au>2017-05-27 00:14:51 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-05-27 07:29:17 +0700
commit078eb2ab0f1fdffc38ced39c1e0bb770ed977e31 (patch)
treeafaca9b529207277f28c98bc1a49d9dac93d8aca /system/daemontools/README.SBo
parentc85df60ebec427cc345bb8b4ae387d7ea808db1c (diff)
downloadslackbuilds-078eb2ab0f1fdffc38ced39c1e0bb770ed977e31.tar.gz
system/daemontools: Added (djb's tools for managing UNIX services).
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'system/daemontools/README.SBo')
-rw-r--r--system/daemontools/README.SBo30
1 files changed, 30 insertions, 0 deletions
diff --git a/system/daemontools/README.SBo b/system/daemontools/README.SBo
new file mode 100644
index 0000000000..b41dcdac3c
--- /dev/null
+++ b/system/daemontools/README.SBo
@@ -0,0 +1,30 @@
+"removepkg daemontools" leaves some stuff behind.
+This is partly because removepkg skips removal of dangling symbolic
+links, and partly because doinst.sh does stuff that removepkg
+can't be aware of.
+
+BEFORE DOING REMOVEPKG: remove this line from /etc/inittab:
+
+SV:123456:respawn:/command/svscanboot
+
+since this will fail repeatedly after the next reboot or telinit.
+Then enter:
+
+telinit q
+
+to stop the svscanboot service.
+
+AFTERWARDS:
+
+rm -r /package # (has symlinks)
+rmdir /service # (or rm -r if you configured services)
+
+cd /usr/bin
+for i in $(ls -lL 2>&1 | grep -E '^l\?\?' | rev | cut -f1 -d' ' |
+ rev); do rm -v $i; done
+
+---------------------------
+
+If you built daemontools without EDIT_INITTAB=yes, you need to insert the SV
+line above into /etc/inittab. Having done that, "telinit q" will start
+the service.