source: basicnet/djb/daemontools/daemontools-desc.xml@ 681ad68

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 6.0 6.1 6.2 6.2.0 6.2.0-rc1 6.2.0-rc2 6.3 6.3-rc1 6.3-rc2 6.3-rc3 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb v5_0 v5_0-pre1 v5_1 v5_1-pre1 xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 681ad68 was 6998c44a, checked in by Larry Lawrence <larry@…>, 21 years ago

chapter 19

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@1197 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 3.4 KB
Line 
1<sect2>
2<title>Contents</title>
3
4<para>The daemontools package contains
5<command>svscanboot</command>, <command>svscan</command>,
6<command>supervise</command>, <command>svc</command>,
7<command>svok</command>, <command>svstat</command>,
8<command>fghack</command>, <command>pgrphack</command>,
9<command>readproctitle</command>, <command>multilog</command>,
10<command>tai64n</command>, <command>tai64nlocal</command>,
11<command>setuidgid</command>, <command>envuidgid</command>,
12<command>envdir</command>, <command>softlimit</command> and
13<command>setlock</command>. More detailed descriptions of these
14commands may be found at <ulink url="http://cr.yp.to/daemontools.html"/>.</para>
15
16</sect2>
17
18<sect2><title>Description</title>
19
20<sect3><title>svscanboot</title>
21<para><command>svscanboot</command> is simply a script that calls
22<command>svscan</command> and pipes its output to readproctitle.</para></sect3>
23
24<sect3><title>svscan</title>
25<para><command>svscan</command> checks the <filename>service</filename>
26directory for daemons to run and starts a <command>supervise</command> process
27for each run script that it finds.</para></sect3>
28
29<sect3><title>supervise</title>
30<para><command>supervise</command> runs the run script passed to it by
31<command>svscan</command> and monitors the process the script starts so that
32if it dies, <command>supervise</command> restarts it.</para></sect3>
33
34<sect3><title>svc</title>
35<para><command>svc</command> sends signals to processes being run under
36<command>supervise</command>.
37</para></sect3>
38
39<sect3><title>svok</title>
40<para><command>svok</command> checks to see that
41<command>supervise</command> is running in the directory
42passed to it.</para></sect3>
43
44<sect3><title>svstat</title>
45<para><command>svstat</command> prints the status of processes monitored by
46<command>supervise</command>.</para></sect3>
47
48<sect3><title>fghack</title>
49<para><command>fghack</command> prevents processes from putting themselves into
50the background.</para></sect3>
51
52<sect3><title>pgrphack</title>
53<para><command>pgrphack</command> runs a process in a separate process group.
54</para></sect3>
55
56<sect3><title>readproctitle</title>
57<para><command>readproctitle</command> displays log entries in the output of
58<command>ps</command>.
59</para></sect3>
60
61<sect3><title>multilog</title>
62<para><command>multilog</command> is a logging program. It takes output from a
63daemon and appends it to any number of logs.</para></sect3>
64
65<sect3><title>tai64n</title>
66<para><command>tai64n</command> is a timestamp generating program.</para>
67</sect3>
68
69<sect3><title>tai64nlocal</title>
70<para><command>tai64nlocal</command> converts output of tai64n into a human
71readable format.</para></sect3>
72
73<sect3><title>setuidgid</title>
74<para><command>setuidgid</command> runs a specified program under a given
75account's uid and gid.</para></sect3>
76
77<sect3><title>envuidgid</title>
78<para><command>envuidgid</command> performs the same function as setuidgid,
79but sets environment variables <envar>UID</envar> and <envar>GID</envar> equal
80to the uid and gid of the account specified.</para></sect3>
81
82<sect3><title>envdir</title>
83<para><command>envdir</command> runs a given program with environment variables
84specified by files in a directory.</para></sect3>
85
86<sect3><title>softlimit</title>
87<para><command>softlimit</command> allows resource limits to be set for a given
88program.</para></sect3>
89
90<sect3><title>setlock</title>
91<para><command>setlock</command> locks a file and runs a program.</para></sect3>
92
93</sect2>
94
Note: See TracBrowser for help on using the repository browser.