aboutsummaryrefslogtreecommitdiff
path: root/system/daemontools-bin/README.Slackware
blob: 918b78e99f56439d830c0c409f80df6c3306bb6f (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
31
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.