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