2002-07-08 04:28:42 +08:00
|
|
|
<sect2>
|
|
|
|
<title>Contents</title>
|
|
|
|
|
2003-04-06 02:00:27 +08:00
|
|
|
<para>The daemontools package contains
|
|
|
|
<userinput>svscanboot</userinput>, <userinput>svscan</userinput>,
|
|
|
|
<userinput>supervise</userinput>, <userinput>svc</userinput>,
|
|
|
|
<userinput>svok</userinput>, <userinput>svstat</userinput>,
|
|
|
|
<userinput>fghack</userinput>, <userinput>pgrphack</userinput>,
|
|
|
|
<userinput>readproctitle</userinput>, <userinput>multilog</userinput>,
|
|
|
|
<userinput>tai64n</userinput>, <userinput>tai64nlocal</userinput>,
|
|
|
|
<userinput>setuidgid</userinput>, <userinput>envuidgid</userinput>,
|
|
|
|
<userinput>envdir</userinput>, <userinput>softlimit</userinput> and
|
2002-07-08 04:28:42 +08:00
|
|
|
<userinput>setlock</userinput>. More detailed descriptions of these
|
2003-04-06 02:00:27 +08:00
|
|
|
commands may be found at <ulink url="http://cr.yp.to/daemontools.html"/>.</para>
|
2002-07-08 04:28:42 +08:00
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2><title>Description</title>
|
|
|
|
|
|
|
|
<sect3><title>svscanboot</title>
|
|
|
|
<para>svscanboot is simply a script that calls svscan and pipes its output
|
|
|
|
to readproctitle.</para></sect3>
|
|
|
|
|
|
|
|
<sect3><title>svscan</title>
|
|
|
|
<para>svscan checks the service directory for daemons to run and starts
|
|
|
|
a supervise process for each run script that it finds.</para></sect3>
|
|
|
|
|
|
|
|
<sect3><title>supervise</title>
|
|
|
|
<para>supervise runs the run script passed to it by svscan and monitors
|
|
|
|
the process the script starts so that if it dies, supervise restarts it.
|
|
|
|
</para></sect3>
|
|
|
|
|
|
|
|
<sect3><title>svc</title>
|
|
|
|
<para>svc sends signals to processes being run under supervise.
|
|
|
|
</para></sect3>
|
|
|
|
|
|
|
|
<sect3><title>svok</title>
|
|
|
|
<para>svok checks to see that supervise is running in the directory
|
|
|
|
passed to it.</para></sect3>
|
|
|
|
|
|
|
|
<sect3><title>svstat</title>
|
|
|
|
<para>svstat prints the status of processes monitored by supervise.
|
|
|
|
</para></sect3>
|
|
|
|
|
|
|
|
<sect3><title>fghack</title>
|
|
|
|
<para>fghack prevents processes from putting themselves into the
|
|
|
|
background.</para></sect3>
|
|
|
|
|
|
|
|
<sect3><title>pgrphack</title>
|
|
|
|
<para>pgrphack runs a process in a separate process group.</para>
|
|
|
|
</sect3>
|
|
|
|
|
|
|
|
<sect3><title>readproctitle</title>
|
|
|
|
<para>readproctitle displays log entries in the output of ps.</para>
|
|
|
|
</sect3>
|
|
|
|
|
|
|
|
<sect3><title>multilog</title>
|
|
|
|
<para>multilog is a logging program. It takes output from a daemon and
|
|
|
|
appends it to any number of logs.</para></sect3>
|
|
|
|
|
|
|
|
<sect3><title>tai64n</title>
|
|
|
|
<para>tai64n is a timestamp generating program.</para></sect3>
|
|
|
|
|
|
|
|
<sect3><title>tai64nlocal</title>
|
|
|
|
<para>tai64nlocal converts output of tai64n into a human readable
|
|
|
|
format.</para></sect3>
|
|
|
|
|
|
|
|
<sect3><title>setuidgid</title>
|
|
|
|
<para>setuidgid runs a specified program under a given account's uid
|
|
|
|
and gid.</para></sect3>
|
|
|
|
|
|
|
|
<sect3><title>envuidgid</title>
|
|
|
|
<para>envuidgid performs the same function as setuidgid, but sets
|
|
|
|
environment variables $UID and $GID equal to the uid and gid of the
|
|
|
|
account specified.</para></sect3>
|
|
|
|
|
|
|
|
<sect3><title>envdir</title>
|
|
|
|
<para>envdir runs a given program with environment variables specified
|
|
|
|
by files in a directory.</para></sect3>
|
|
|
|
|
|
|
|
<sect3><title>softlimit</title>
|
|
|
|
<para>softlimit allows resource limits to be set for a given program.
|
|
|
|
</para></sect3>
|
|
|
|
|
|
|
|
<sect3><title>setlock</title>
|
|
|
|
<para>setlock locks a file and runs a program.</para></sect3>
|
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|