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