aboutsummaryrefslogtreecommitdiff
path: root/system/daemontools/README.SBo
blob: b41dcdac3ccf63fe19c5a7f4f69f52010f69fc2f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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.