runit

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

commit 12dc9af784b6a2c37d12c68b3e438362a7128e1e
parent 1772622f6d7548080f0fb033855970d50d79cc8a
Author: Gerrit Pape <pape@smarden.org>
Date:   Tue, 30 Sep 2003 10:02:59 +0000

rman has changed its html formatting.

Diffstat:
MMakefile | 6+++---
Mdoc/chpst.8.html | 18+++++++++---------
Mdoc/runit-init.8.html | 14+++++++-------
Mdoc/runit.8.html | 22+++++++++++-----------
Mdoc/runsv.8.html | 18+++++++++---------
Mdoc/runsvchdir.8.html | 16++++++++--------
Mdoc/runsvctrl.8.html | 16++++++++--------
Mdoc/runsvdir.8.html | 14+++++++-------
Mdoc/runsvstat.8.html | 16++++++++--------
Mdoc/svlogd.8.html | 26+++++++++++++-------------
Mdoc/svwaitdown.8.html | 16++++++++--------
Mdoc/svwaitup.8.html | 16++++++++--------
Mdoc/utmpset.8.html | 16++++++++--------
13 files changed, 107 insertions(+), 107 deletions(-)

diff --git a/Makefile b/Makefile @@ -10,9 +10,9 @@ all: clean .manpages $(PACKAGE).tar.gz .manpages: for i in $(MANPAGES); do \ rman -S -f html -r '' < man/$$i | \ - sed -e 's}NAME="sect\([0-9]*\)" HREF="#toc[0-9]*">\(.*\)}NAME="sect\1">\2}g ; \ - s}<A HREF="#toc">Table of Contents</A>}<a href="http://smarden.org/pape/">G. Pape</a><br><A HREF="index.html">runit</A><hr>}g ; \ - s}<!--.*-->}}g' \ + sed -e "s}name='sect\([0-9]*\)' href='#toc[0-9]*'>\(.*\)}name='sect\1'>\2}g ; \ + s}<a href='#toc'>Table of Contents</a>}<a href='http://smarden.org/pape/'>G. Pape</a><br><a href='index.html'>runit</A><hr>}g ; \ + s}<!--.*-->}}g" \ > doc/$$i.html ; \ done ; \ echo 'fix up html manually...' diff --git a/doc/chpst.8.html b/doc/chpst.8.html @@ -6,19 +6,19 @@ <title>chpst(8) manual page</title> </head> <body bgcolor='white'> -<a href='#toc'>Table of Contents</a><p> +<a href='http://smarden.org/pape/'>G. Pape</a><br><a href='index.html'>runit</A><hr><p> -<h2><a name='sect0' href='#toc0'>Name</a></h2> +<h2><a name='sect0'>Name</a></h2> chpst - runs a program with a changed process state -<h2><a name='sect1' href='#toc1'>Synopsis</a></h2> +<h2><a name='sect1'>Synopsis</a></h2> <b>chpst</b> [-vP012] [-u <i>user</i>] [-U <i>user</i>] [-e <i>dir</i>] [-l|-L <i>lock</i>] [-m <i>bytes</i>] [-o <i>n</i>] [-p <i>n</i>] [-f <i>bytes</i>] [-c <i>bytes</i>] <i>prog</i> -<h2><a name='sect2' href='#toc2'>Description</a></h2> +<h2><a name='sect2'>Description</a></h2> <i>prog</i> consists of one or more arguments. <p> <b>chpst</b> changes the process state according to the given options, and runs <i>prog</i>. -<h2><a name='sect3' href='#toc3'>Options</a></h2> +<h2><a name='sect3'>Options</a></h2> <dl> @@ -93,22 +93,22 @@ input before running <i>prog</i>. </dd> <dd>Close standard error before running <i>prog</i>. </dd> </dl> -<h2><a name='sect4' href='#toc4'>Exit Codes</a></h2> +<h2><a name='sect4'>Exit Codes</a></h2> <b>chpst</b> exits 100 when called with wrong options. It prints an error message and exits 111 if it has trouble changing the process state. Otherwise its exit code is the same as that of <i>prog</i>. -<h2><a name='sect5' href='#toc5'>Emulation</a></h2> +<h2><a name='sect5'>Emulation</a></h2> If <b>chpst</b> is called as <i><b>envdir</b>(8)</i>, <i><b>envuidgid</b>(8)</i>, <i><b>pgrphack</b>(8)</i>, <i><b>setlock</b>(8)</i>, <i><b>setuidgid</b>(8)</i>, or <i><b>softlimit</b>(8)</i>, it emulates the functionality of these programs from the daemontools package respectively. -<h2><a name='sect6' href='#toc6'>See Also</a></h2> +<h2><a name='sect6'>See Also</a></h2> <i>runsv(8)</i>, <i>runsvctrl(8)</i>, <i>runsvstat(8)</i>, <i>runsvdir(8)</i>, <i>setsid(2)</i> <p> <i>http://smarden.org/runit/</i><br> <i>http://cr.yp.to/daemontools.html</i><br> -<h2><a name='sect7' href='#toc7'>Author</a></h2> +<h2><a name='sect7'>Author</a></h2> Gerrit Pape &lt;pape@smarden.org&gt; <p> <hr><p> diff --git a/doc/runit-init.8.html b/doc/runit-init.8.html @@ -6,13 +6,13 @@ <title>runit-init(8) manual page</title> </head> <body bgcolor='white'> -<a href='#toc'>Table of Contents</a><p> +<a href='http://smarden.org/pape/'>G. Pape</a><br><a href='index.html'>runit</A><hr><p> -<h2><a name='sect0' href='#toc0'>Name</a></h2> +<h2><a name='sect0'>Name</a></h2> init - a UNIX process no 1 -<h2><a name='sect1' href='#toc1'>Synopsis</a></h2> +<h2><a name='sect1'>Synopsis</a></h2> <b>init</b> [ 0 | 6 ] -<h2><a name='sect2' href='#toc2'>Description</a></h2> +<h2><a name='sect2'>Description</a></h2> <b>runit-init</b> is the first process the kernel starts. If <b>runit-init</b> is started as process no 1, it runs and replaces itself with <i><b>runit</b>(8)</i>. <p> @@ -35,15 +35,15 @@ execute by owner permission of the files <i>/etc/runit/reboot</i> and <i>/etc/ru (chmod 100). Then a CONT signal is sent to <i><b>runit</b>(8)</i>. </dd> </dl> -<h2><a name='sect3' href='#toc3'>Exit Codes</a></h2> +<h2><a name='sect3'>Exit Codes</a></h2> <b>runit-init</b> returns 111 on error, 0 in all other cases. -<h2><a name='sect4' href='#toc4'>See Also</a></h2> +<h2><a name='sect4'>See Also</a></h2> <i>runit(8)</i>, <i>runsv(8)</i>, <i>runsvctrl(8)</i>, <i>runsvstat(8)</i>, <i>runsvdir(8)</i>, <i>runsvchdir(8)</i>, <i>svlogd(8)</i>, <i>utmpset(8)</i> <p> <i>http://smarden.org/runit/</i> -<h2><a name='sect5' href='#toc5'>Author</a></h2> +<h2><a name='sect5'>Author</a></h2> Gerrit Pape &lt;pape@smarden.org&gt; <p> <hr><p> diff --git a/doc/runit.8.html b/doc/runit.8.html @@ -6,40 +6,40 @@ <title>runit(8) manual page</title> </head> <body bgcolor='white'> -<a href='#toc'>Table of Contents</a><p> +<a href='http://smarden.org/pape/'>G. Pape</a><br><a href='index.html'>runit</A><hr><p> -<h2><a name='sect0' href='#toc0'>Name</a></h2> +<h2><a name='sect0'>Name</a></h2> runit - a UNIX process no 1 -<h2><a name='sect1' href='#toc1'>Synopsis</a></h2> +<h2><a name='sect1'>Synopsis</a></h2> <b>runit</b> -<h2><a name='sect2' href='#toc2'>Description</a></h2> +<h2><a name='sect2'>Description</a></h2> <b>runit</b> must be run as Unix process no 1. It performs the system&rsquo;s booting, running, and shutdown in three Stages: -<h2><a name='sect3' href='#toc3'>Stage 1</a></h2> +<h2><a name='sect3'>Stage 1</a></h2> <b>runit</b> runs <i>/etc/runit/1</i> and waits for it to terminate. The system&rsquo;s one time tasks are done here. <i>/etc/runit/1</i> has full control of <i>/dev/console</i> to be able to start an emergency shell if the one time initialization tasks fail. If <i>/etc/runit/1</i> itself crashes, <b>runit</b> will skip stage 2 and enter stage 3. -<h2><a name='sect4' href='#toc4'>Stage 2</a></h2> +<h2><a name='sect4'>Stage 2</a></h2> <b>runit</b> runs <i>/etc/runit/2</i>, which should not return until system shutdown; if it crashes, it will be restarted. Normally <i>/etc/runit/2</i> starts <i><b>runsvdir</b>(8)</i>. <b>runit</b> is able to handle the ctrl-alt-del keyboard request in Stage 2, see below. -<h2><a name='sect5' href='#toc5'>Stage 3</a></h2> +<h2><a name='sect5'>Stage 3</a></h2> If <b>runit</b> is told to shutdown the system, or the Stage 2 returns without errors, it terminates Stage 2 if it is running, and runs <i>/etc/runit/3</i>. The systems tasks to shutdown and halt or reboot are done here. If Stage 3 returns, <b>runit</b> checks if the file <i>/etc/runit/reboot</i> exists and has the execute by owner permission set. If so, the system is rebooted, it&rsquo;s halted otherwise. -<h2><a name='sect6' href='#toc6'>Ctrl-alt-del</a></h2> +<h2><a name='sect6'>Ctrl-alt-del</a></h2> If <b>runit</b> receives the ctrl-alt-del keyboard request and the file <i>/etc/runit/ctrlaltdel</i> exists and has the execute by owner permission set, <b>runit</b> runs <i>/etc/runit/ctrlaltdel</i>, waits for it to terminate, and then sends itself a CONT signal. -<h2><a name='sect7' href='#toc7'>Signals</a></h2> +<h2><a name='sect7'>Signals</a></h2> <b>runit</b> only accepts signals in Stage 2. <p> If <b>runit</b> receives a CONT signal and the @@ -47,12 +47,12 @@ file <i>/etc/runit/stopit</i> exists and has the execute by owner permission set <b>runit</b> is told to shutdown the system. <p> if <b>runit</b> receives an INT signal, a ctrl-alt-del keyboard request is triggered. -<h2><a name='sect8' href='#toc8'>See Also</a></h2> +<h2><a name='sect8'>See Also</a></h2> <i>runit-init(8)</i>, <i>runsvdir(8)</i>, <i>runsvchdir(8)</i>, <i>runsv(8)</i>, <i>runsvctrl(8)</i>, <i>runsvstat(8)</i>, <i>svwaitdown(8)</i>, <i>svwaitup(8)</i>, <i>svlogd(8)</i>, <i>utmpset(8)</i> <p> <i>http://smarden.org/runit/</i> -<h2><a name='sect9' href='#toc9'>Author</a></h2> +<h2><a name='sect9'>Author</a></h2> Gerrit Pape &lt;pape@smarden.org&gt; <p> diff --git a/doc/runsv.8.html b/doc/runsv.8.html @@ -6,14 +6,14 @@ <title>runsv(8) manual page</title> </head> <body bgcolor='white'> -<a href='#toc'>Table of Contents</a><p> +<a href='http://smarden.org/pape/'>G. Pape</a><br><a href='index.html'>runit</A><hr><p> -<h2><a name='sect0' href='#toc0'>Name</a></h2> +<h2><a name='sect0'>Name</a></h2> runsv - starts and monitors a service and optionally an appendant log service -<h2><a name='sect1' href='#toc1'>Synopsis</a></h2> +<h2><a name='sect1'>Synopsis</a></h2> <b>runsv</b> <i>service</i> -<h2><a name='sect2' href='#toc2'>Description</a></h2> +<h2><a name='sect2'>Description</a></h2> <i>service</i> must be a directory. <p> <b>runsv</b> switches to the directory <i>service</i> and starts ./run. if ./run exits and ./finish @@ -34,7 +34,7 @@ to read from the pipe. <p> compatible to <i><b>supervise</b>(8)</i> in <i>service</i>/supervise/status and <i>service</i>/log/supervise/status, and in a human-readable format in <i>service</i>/supervise/stat, <i>service</i>/log/supervise/stat, <i>service</i>/supervise/pid, <i>service</i>/log/supervise/pid. -<h2><a name='sect3' href='#toc3'>Control</a></h2> +<h2><a name='sect3'>Control</a></h2> The named pipes <i>service</i>/supervise/control, and (optionally) <i>service</i>/log/supervise/control are provided to give commands to <b>runsv</b>. You can use <i><b>svc</b>(8)</i> to control the @@ -104,23 +104,23 @@ For example, to send a TERM signal to If <i><b>echo</b>(1)</i> on your systems does not provide the -n option, leave it out, <b>runsv</b> ignores unknown characters written to the control pipe. <i><b>echo</b>(1)</i> usually blocks if no <b>runsv</b> process is running in the service directory. -<h2><a name='sect4' href='#toc4'>Signals</a></h2> +<h2><a name='sect4'>Signals</a></h2> If <b>runsv</b> receives a TERM signal, it acts as if the character x was written to the control pipe. -<h2><a name='sect5' href='#toc5'>Exit Codes</a></h2> +<h2><a name='sect5'>Exit Codes</a></h2> <b>runsv</b> exits 111 on an error on startup or if another <b>runsv</b> is running in <i>service</i>. <p> <b>runsv</b> exits 0 if it was told to exit. -<h2><a name='sect6' href='#toc6'>See Also</a></h2> +<h2><a name='sect6'>See Also</a></h2> <i>runsvctrl(8)</i>, <i>runsvstat(8)</i>, <i>runit(8)</i>, <i>runit-init(8)</i>, <i>runsvdir(8)</i>, <i>runsvchdir(8)</i>, <i>svlogd(8)</i>, <i>svwaitdown(8)</i>, <i>svwaitup(8)</i>, <i>svc(8)</i>, <i>supervise(8)</i> <p> <i>http://smarden.org/runit/</i><br> <i>http://cr.yp.to/daemontools.html</i><br> -<h2><a name='sect7' href='#toc7'>Author</a></h2> +<h2><a name='sect7'>Author</a></h2> Gerrit Pape &lt;pape@smarden.org&gt; <p> <hr><p> diff --git a/doc/runsvchdir.8.html b/doc/runsvchdir.8.html @@ -6,14 +6,14 @@ <title>runsvchdir(8) manual page</title> </head> <body bgcolor='white'> -<a href='#toc'>Table of Contents</a><p> +<a href='http://smarden.org/pape/'>G. Pape</a><br><a href='index.html'>runit</A><hr><p> -<h2><a name='sect0' href='#toc0'>Name</a></h2> +<h2><a name='sect0'>Name</a></h2> runsvchdir - change service directory of <i>runsvdir(8)</i> -<h2><a name='sect1' href='#toc1'>Synopsis</a></h2> +<h2><a name='sect1'>Synopsis</a></h2> <b>runsvchdir</b> <i>dir</i> -<h2><a name='sect2' href='#toc2'>Description</a></h2> +<h2><a name='sect2'>Description</a></h2> <i>dir</i> is a directory for the use with <i><b>runsvdir</b>(8)</i>. If <i>dir</i> does not start with a slash, it is searched in /etc/runit/runsvdir/. <i>dir</i> must not start with a dot. <p> @@ -22,19 +22,19 @@ copies <i>current</i> to <i>previous</i>, and replaces <i>current</i> with a sym to <i>dir</i>. <p> Normally <i>/service</i> is a symlink to <i>current</i>, and <i><b>runsvdir</b>(8)</i> is running <i>/service</i>. -<h2><a name='sect3' href='#toc3'>Exit Codes</a></h2> +<h2><a name='sect3'>Exit Codes</a></h2> <b>runsvchdir</b> prints an error message and exits 111 on error. <b>runsvchdir</b> exits 0 on success. -<h2><a name='sect4' href='#toc4'>Files</a></h2> +<h2><a name='sect4'>Files</a></h2> /etc/runit/runsvdir/previous<br> /etc/runit/runsvdir/current<br> /etc/runit/runsvdir/current.new<br> -<h2><a name='sect5' href='#toc5'>See Also</a></h2> +<h2><a name='sect5'>See Also</a></h2> <i>runsvdir(8)</i>, <i>runsv(8)</i>, <i>runsvctrl(8)</i>, <i>runsvstat(8)</i>, <i>runit(8)</i>, <i>runit-init(8)</i>, <i>svwaitdown(8)</i>, <i>svwaitup(8)</i> <p> <i>http://smarden.org/runit/</i> -<h2><a name='sect6' href='#toc6'>Author</a></h2> +<h2><a name='sect6'>Author</a></h2> Gerrit Pape &lt;pape@smarden.org&gt; <p> diff --git a/doc/runsvctrl.8.html b/doc/runsvctrl.8.html @@ -6,21 +6,21 @@ <title>runsvctrl(8) manual page</title> </head> <body bgcolor='white'> -<a href='#toc'>Table of Contents</a><p> +<a href='http://smarden.org/pape/'>G. Pape</a><br><a href='index.html'>runit</A><hr><p> -<h2><a name='sect0' href='#toc0'>Name</a></h2> +<h2><a name='sect0'>Name</a></h2> runsvctrl - controls a service monitored by <i><b>runsv</b>(8)</i>. -<h2><a name='sect1' href='#toc1'>Synopsis</a></h2> +<h2><a name='sect1'>Synopsis</a></h2> <b>runsvctrl</b> <i>command</i> <i>services</i> -<h2><a name='sect2' href='#toc2'>Description</a></h2> +<h2><a name='sect2'>Description</a></h2> <i>services</i> consists of one or more arguments, each argument naming a directory used by <i><b>runsv</b>(8)</i>. <i>command</i> is one of up, down, once, pause, cont, hup, alarm, interrupt, 1, 2, term, kill, or exit. <p> For each <i>service</i> of <i>services</i>, <b>runsvctrl</b> sends the command <i>command</i> to the <i>service</i>, which must be controlled by <i><b>runsv</b>(8)</i>. -<h2><a name='sect3' href='#toc3'>Commands</a></h2> +<h2><a name='sect3'>Commands</a></h2> <dl> @@ -79,7 +79,7 @@ is down, <i><b>runsv</b>(8)</i> exits. This command is ignored if it is given to </dl> <p> <b>runsvctrl</b> actually looks only at the first character of <i>command</i>. -<h2><a name='sect4' href='#toc4'>Exit Codes</a></h2> +<h2><a name='sect4'>Exit Codes</a></h2> <b>runsvctrl</b> exits 0, if the <i>command</i> was sent successfully to all <i>services</i>. <p> For each @@ -87,13 +87,13 @@ For each process), <b>runsvctrl</b> increases the exit code by one and exits non zero. The maximum is 100. <p> <b>runsvctrl</b> exits 111 on error. -<h2><a name='sect5' href='#toc5'>See Also</a></h2> +<h2><a name='sect5'>See Also</a></h2> <i>runsvstat(8)</i>, <i>runsv(8)</i>, <i>runit(8)</i>, <i>runit-init(8)</i>, <i>runsvdir(8)</i>, <i>runsvchdir(8)</i>, <i>svlogd(8)</i>, <i>svwaitdown(8)</i>, <i>svwaitup(8)</i> <p> <i>http://smarden.org/runit/</i><br> -<h2><a name='sect6' href='#toc6'>Author</a></h2> +<h2><a name='sect6'>Author</a></h2> Gerrit Pape &lt;pape@smarden.org&gt; <p> <hr><p> diff --git a/doc/runsvdir.8.html b/doc/runsvdir.8.html @@ -6,14 +6,14 @@ <title>runsvdir(8) manual page</title> </head> <body bgcolor='white'> -<a href='#toc'>Table of Contents</a><p> +<a href='http://smarden.org/pape/'>G. Pape</a><br><a href='index.html'>runit</A><hr><p> -<h2><a name='sect0' href='#toc0'>Name</a></h2> +<h2><a name='sect0'>Name</a></h2> runsvdir - starts and monitors a collection of <i>runsv(8)</i> processes -<h2><a name='sect1' href='#toc1'>Synopsis</a></h2> +<h2><a name='sect1'>Synopsis</a></h2> <b>runsvdir</b> <i>dir</i> [ <i>log</i> ] -<h2><a name='sect2' href='#toc2'>Description</a></h2> +<h2><a name='sect2'>Description</a></h2> <i>dir</i> must be a directory. <i>log</i> is a space holder for a readproctitle log and must be at least seven characters long. <p> <b>runsvdir</b> @@ -34,20 +34,20 @@ a process-listing tool such as <i><b>ps</b>(1)</i>. <b>runsvdir</b> writes a dot log every 15 minutes so that old error messages expire. <p> Normally <b>runsvdir</b> is started by <i><b>runit</b>(8)</i> in stage 2. -<h2><a name='sect3' href='#toc3'>Signals</a></h2> +<h2><a name='sect3'>Signals</a></h2> If <b>runsvdir</b> receives a TERM signal, it exits with 0 immediately. <p> If <b>runsvdir</b> receives a HUP signal, it sends a TERM signal to each <i><b>runsv</b>(8)</i> process it is monitoring and then exits with 111. -<h2><a name='sect4' href='#toc4'>See Also</a></h2> +<h2><a name='sect4'>See Also</a></h2> <i>runsvchdir(8)</i>, <i>runsv(8)</i>, <i>runsvctrl(8)</i>, <i>runsvstat(8)</i>, <i>runit(8)</i>, <i>runit-init(8)</i>, <i>svlogd(8)</i>, <i>svwaitdown(8)</i>, <i>svwaitup(8)</i>, <i>readproctitle(8)</i>, <i>svscan(8)</i> <p> <i>http://smarden.org/runit/</i><br> <i>http://cr.yp.to/daemontools.html</i><br> -<h2><a name='sect5' href='#toc5'>Author</a></h2> +<h2><a name='sect5'>Author</a></h2> Gerrit Pape &lt;pape@smarden.org&gt; <p> <hr><p> diff --git a/doc/runsvstat.8.html b/doc/runsvstat.8.html @@ -6,14 +6,14 @@ <title>runsvstat(8) manual page</title> </head> <body bgcolor='white'> -<a href='#toc'>Table of Contents</a><p> +<a href='http://smarden.org/pape/'>G. Pape</a><br><a href='index.html'>runit</A><hr><p> -<h2><a name='sect0' href='#toc0'>Name</a></h2> +<h2><a name='sect0'>Name</a></h2> runsvstat - prints the status of services monitored by <i><b>runsv</b>(8)</i>. -<h2><a name='sect1' href='#toc1'>Synopsis</a></h2> +<h2><a name='sect1'>Synopsis</a></h2> <b>runsvstat</b> [ <b>-l</b> ] <i>services</i> -<h2><a name='sect2' href='#toc2'>Description</a></h2> +<h2><a name='sect2'>Description</a></h2> <i>services</i> consists of one or more arguments, each argument naming a directory. <p> <b>runsvstat</b> checks for each directory if <i><b>runsv</b>(8)</i> @@ -21,7 +21,7 @@ is successfully running this <i>service</i>, and if so, prints one human-readabl line reporting the status of this <i>service</i>. Optionally <i><b>runsvstat</b>(8)</i> prints a second line, also in human-readable format, reporting the status of the corresponding <i>log</i> <i>service</i>. -<h2><a name='sect3' href='#toc3'>Options</a></h2> +<h2><a name='sect3'>Options</a></h2> <dl> @@ -31,7 +31,7 @@ there exists a corresponding <i>log</i> <i>service</i>. If so, print an addition line reporting the status of the <i>log</i> <i>service</i>. </dd> </dl> -<h2><a name='sect4' href='#toc4'>Exit Codes</a></h2> +<h2><a name='sect4'>Exit Codes</a></h2> <b>runsvstat</b> exits 0, if the states of all <i>services</i> were reported successfully. <p> For each <i>service</i> @@ -39,13 +39,13 @@ that caused an error (e.g. the directory is not controlled by a <i><b>runsv</b>( process), <b>runsvstat</b> increases the exit code by one and exits non zero. The maximum is 100. <p> <b>runsvstat</b> exits 111 on error. -<h2><a name='sect5' href='#toc5'>See Also</a></h2> +<h2><a name='sect5'>See Also</a></h2> <i>runsvctrl(8)</i>, <i>runsv(8)</i>, <i>runsvdir(8)</i>, <i>runsvchdir(8)</i>, <i>runit(8)</i>, <i>runit-init(8)</i>, <i>svlogd(8)</i>, <i>svwaitdown(8)</i>, <i>svwaitup(8)</i> <p> <i>http://smarden.org/runit/</i><br> -<h2><a name='sect6' href='#toc6'>Author</a></h2> +<h2><a name='sect6'>Author</a></h2> Gerrit Pape &lt;pape@smarden.org&gt; <p> <hr><p> diff --git a/doc/svlogd.8.html b/doc/svlogd.8.html @@ -6,14 +6,14 @@ <title>svlogd(8) manual page</title> </head> <body bgcolor='white'> -<a href='#toc'>Table of Contents</a><p> +<a href='http://smarden.org/pape/'>G. Pape</a><br><a href='index.html'>runit</A><hr><p> -<h2><a name='sect0' href='#toc0'>Name</a></h2> +<h2><a name='sect0'>Name</a></h2> svlogd - runit&rsquo;s service logging daemon -<h2><a name='sect1' href='#toc1'>Synopsis</a></h2> +<h2><a name='sect1'>Synopsis</a></h2> <b>svlogd</b> [-tv] [-r <i>c]</i> [-R <i>xyz]</i> [-l <i>n]</i> [-b <i>n]</i> <i>logs</i> -<h2><a name='sect2' href='#toc2'>Description</a></h2> +<h2><a name='sect2'>Description</a></h2> <i>logs</i> consists of one or more arguments, each specifying a directory. <p> <b>svlogd</b> continuously reads log data from its @@ -25,7 +25,7 @@ be processed by an arbitrary processor program when they are rotated, and <b>svlogd</b> runs until it sees end-of-file on standard input or is sent a TERM signal, see below. -<h3><a name='sect3' href='#toc3'>Log Directory</a></h3> +<h3><a name='sect3'>Log Directory</a></h3> A log directory <i>log</i> contains some number of old log files, and the current log file <i>current</i>. Old log files have a file name starting with <i>@</i> followed by a precise timestamp (see <i><b>tai64n</b>(8)</i>), indicating @@ -38,7 +38,7 @@ has trouble opening a log directory, it prints a warning, and ignores this log directory. If <b>svlogd</b> is unable to open all log directories given at the command line, it exits with an error. This can happen on start-up or after receiving a HUP signal. -<h3><a name='sect4' href='#toc4'>Log File Rotation</a></h3> +<h3><a name='sect4'>Log File Rotation</a></h3> <b>svlogd</b> appends selected log messages to the <i>current</i> log file. If <i>current</i> has <i>size</i> bytes or more size (or there is a new-line within the last <i>len</i> of <i>size</i> bytes) <i>current</i> is rotated: @@ -46,7 +46,7 @@ messages to the <i>current</i> log file. If <i>current</i> has <i>size</i> bytes <b>svlogd</b> closes <i>current</i>, changes permission of <i>current</i> to 0755, renames <i>current</i> to @<i>timestamp.s,</i> and starts with a new empty <i>current</i>. If <b>svlogd</b> sees <i>num</i> or more old log files in <i>dir</i>, it removes the oldest. -<h3><a name='sect5' href='#toc5'>Processor</a></h3> +<h3><a name='sect5'>Processor</a></h3> If <b>svlogd</b> is told to process recent log files, it saves <i>current</i> to @<i>timestamp.u,</i> feeds @<i>timestamp.u</i> through &lsquo;&lsquo;sh -c "<i>processor</i>"&rsquo;&rsquo; and writes the output to @<i>timestamp.t.</i> @@ -62,7 +62,7 @@ running <i>processor</i> has finished successfully. Only the HUP signal works in that situation. Note that this may block any program feeding its log data to <b>svlogd.</b> <p> -<h3><a name='sect6' href='#toc6'>Config</a></h3> +<h3><a name='sect6'>Config</a></h3> On startup, and after receiving a HUP signal, <b>svlogd</b> checks for each <i>log</i> if the configuration file <i>log/config</i> exists, and if so, reads the file line by line and adjusts configuration for <i>log</i> as follows: <p> @@ -111,7 +111,7 @@ not matching <i>pattern</i> are printed to standard error. </dd> <p> Initially each line is selected. Deselected log messages are discarded from <i>log</i>. -<h2><a name='sect7' href='#toc7'>Pattern Matching</a></h2> +<h2><a name='sect7'>Pattern Matching</a></h2> <b>svlogd</b> matches a log message against the string <i>pattern</i> as follows: <p> <i>pattern</i> is @@ -121,7 +121,7 @@ the next character in <i>pattern</i> in the log message one or more times. A sta before the end of <i>pattern</i> matches any string in the log message that does not include the next character in <i>pattern</i>. A star at the end of <i>pattern</i> matches any string. -<h2><a name='sect8' href='#toc8'>Options</a></h2> +<h2><a name='sect8'>Options</a></h2> <dl> @@ -154,7 +154,7 @@ is 1024. <i>buflen</i> must be greater than <i>len</i>. </dd> to standard error. </dd> </dl> -<h2><a name='sect9' href='#toc9'>Signals</a></h2> +<h2><a name='sect9'>Signals</a></h2> If <b>svlogd</b> is sent a HUP signal, it closes and reopens all <i>logs</i>, and updates their configuration according to <i>log/config</i>. If <b>svlogd</b> has trouble opening a log directory, it prints a warning, and @@ -167,12 +167,12 @@ to finish if any, and exits 0 as soon as possible. <p> If <b>svlogd</b> is sent an ALRM signal, it forces log file rotation for all <i>logs</i> with a non empty <i>current</i> log file. -<h2><a name='sect10' href='#toc10'>See Also</a></h2> +<h2><a name='sect10'>See Also</a></h2> <i>runsv(8)</i>, <i>runsvstat(8)</i>, <i>runsvctrl(8)</i>, <i>runsvdir(8)</i>, <i>runsvchdir(8)</i>, <i>runit(8)</i>, <i>runit-init(8)</i>, <i>multilog(8)</i> <p> <i>http://smarden.org/runit/</i> -<h2><a name='sect11' href='#toc11'>Author</a></h2> +<h2><a name='sect11'>Author</a></h2> Gerrit Pape &lt;pape@smarden.org&gt; <p> <hr><p> diff --git a/doc/svwaitdown.8.html b/doc/svwaitdown.8.html @@ -6,14 +6,14 @@ <title>svwaitdown(8) manual page</title> </head> <body bgcolor='white'> -<a href='#toc'>Table of Contents</a><p> +<a href='http://smarden.org/pape/'>G. Pape</a><br><a href='index.html'>runit</A><hr><p> -<h2><a name='sect0' href='#toc0'>Name</a></h2> +<h2><a name='sect0'>Name</a></h2> svwaitdown - waits for services controlled by <i>runsv(8)</i> or <i>supervise(8)</i> to be down -<h2><a name='sect1' href='#toc1'>Synopsis</a></h2> +<h2><a name='sect1'>Synopsis</a></h2> <b>svwaitdown</b> [ <b>-v</b> ] [ <b>-k</b> ] [ <b>-t</b> <i>sec</i> ] <i>services</i> -<h2><a name='sect2' href='#toc2'>Description</a></h2> +<h2><a name='sect2'>Description</a></h2> <i>services</i> consists of one or more arguments. Each <i>service</i> directory must start with a slash. <p> @@ -22,7 +22,7 @@ command, and waits for it to become down. The <i>services</i> given at the comma line must be controlled by <i><b>runsv</b>(8)</i>, or <i><b>supervise</b>(8)</i>. <p> <b>svwaitdown</b> blocks, limited by a <i>timeout</i>, until all <i>services</i> are down or reports errors. -<h2><a name='sect3' href='#toc3'>Options</a></h2> +<h2><a name='sect3'>Options</a></h2> <dl> @@ -47,7 +47,7 @@ for the <i>services</i> to be down. This option should only be used by <i><b>run in stage 3 when <i><b>runsvdir</b>(8)</i> is already stopped. </dd> </dl> -<h2><a name='sect4' href='#toc4'>Exit Codes</a></h2> +<h2><a name='sect4'>Exit Codes</a></h2> <b>svwaitdown</b> returns 0 as soon as all <i>services</i> are down. <p> If a <i>service</i> is usually controlled by @@ -58,14 +58,14 @@ that causes an error while checking, <b>svwaitdown</b> increases the exit code by one and exits non zero. The maximum is 100. <p> <b>svwaitdown</b> returns 111 if the timeout <i>sec</i> was reached. -<h2><a name='sect5' href='#toc5'>See Also</a></h2> +<h2><a name='sect5'>See Also</a></h2> <i>svwaitdown(8)</i>, <i>runsv(8)</i>, <i>runsvctrl(8)</i>, <i>runsvstat(8)</i>, <i>runsvdir(8)</i>, <i>runsvchdir(8)</i>, <i>runit(8)</i>, <i>runit-init(8)</i>, <i>supervise(8)</i>, <i>svscan(8)</i> <p> <i>http://smarden.org/runit/</i><br> <i>http://cr.yp.to/daemontools.html</i><br> -<h2><a name='sect6' href='#toc6'>Author</a></h2> +<h2><a name='sect6'>Author</a></h2> Gerrit Pape &lt;pape@smarden.org&gt; <p> <hr><p> diff --git a/doc/svwaitup.8.html b/doc/svwaitup.8.html @@ -6,14 +6,14 @@ <title>svwaitup(8) manual page</title> </head> <body bgcolor='white'> -<a href='#toc'>Table of Contents</a><p> +<a href='http://smarden.org/pape/'>G. Pape</a><br><a href='index.html'>runit</A><hr><p> -<h2><a name='sect0' href='#toc0'>Name</a></h2> +<h2><a name='sect0'>Name</a></h2> svwaitup - waits for services controlled by <i>runsv(8)</i> or <i>supervise(8)</i> to be up -<h2><a name='sect1' href='#toc1'>Synopsis</a></h2> +<h2><a name='sect1'>Synopsis</a></h2> <b>svwaitup</b> [ <b>-v</b> ] [ <b>-s</b> <i>sec</i> ] <i>services</i> -<h2><a name='sect2' href='#toc2'>Description</a></h2> +<h2><a name='sect2'>Description</a></h2> <i>services</i> consist of one or more arguments. Each <i>service</i> directory must start with a slash. <p> @@ -23,7 +23,7 @@ command line must be controlled by <i><b>runsv</b>(8)</i>, or <i><b>supervise</b <b>svwaitup</b> blocks until all <i>services</i> were up and running at least <i>sec</i> seconds when <b>svwaitup</b> was checking or reports errors. -<h2><a name='sect3' href='#toc3'>Options</a></h2> +<h2><a name='sect3'>Options</a></h2> <dl> @@ -36,7 +36,7 @@ to stderr. </dd> up to <i>sec</i> seconds. <i>sec</i> must be between 2 and 600. Default is 2. </dd> </dl> -<h2><a name='sect4' href='#toc4'>Exit Codes</a></h2> +<h2><a name='sect4'>Exit Codes</a></h2> <b>svwaitup</b> returns 0 as soon as all <i>services</i> were at least <i>sec</i> seconds up. <p> <b>Note</b>: If @@ -49,14 +49,14 @@ requested to become up, or that causes an error while checking (e.g. <i><b>runsv is not running), <b>svwaitup</b> increases the exit code by one and exits non zero. The maximum is 100. <p> <b>svwaitup</b> returns 111 on error. -<h2><a name='sect5' href='#toc5'>See Also</a></h2> +<h2><a name='sect5'>See Also</a></h2> <i>svwaitdown(8)</i>, <i>runsv(8)</i>, <i>runsvctrl(8)</i>, <i>runsvstat(8)</i>, <i>runsvdir(8)</i>, <i>runsvchdir(8)</i>, <i>runit(8)</i>, <i>runit-init(8)</i>, <i>supervise(8)</i>, <i>svscan(8)</i> <p> <i>http://smarden.org/runit/</i><br> <i>http://cr.yp.to/daemontools.html</i><br> -<h2><a name='sect6' href='#toc6'>Author</a></h2> +<h2><a name='sect6'>Author</a></h2> Gerrit Pape &lt;pape@smarden.org&gt; <p> <hr><p> diff --git a/doc/utmpset.8.html b/doc/utmpset.8.html @@ -6,14 +6,14 @@ <title>utmpset(8) manual page</title> </head> <body bgcolor='white'> -<a href='#toc'>Table of Contents</a><p> +<a href='http://smarden.org/pape/'>G. Pape</a><br><a href='index.html'>runit</A><hr><p> -<h2><a name='sect0' href='#toc0'>Name</a></h2> +<h2><a name='sect0'>Name</a></h2> utmpset - logout a line from utmp and wtmp file -<h2><a name='sect1' href='#toc1'>Synopsis</a></h2> +<h2><a name='sect1'>Synopsis</a></h2> <b>utmpset</b> [ <b>-w</b> ] <i>line</i> -<h2><a name='sect2' href='#toc2'>Description</a></h2> +<h2><a name='sect2'>Description</a></h2> The <b>utmpset</b> program modifies the user accounting database <i><b>utmp</b>(5)</i> and optionally <i><b>wtmp</b>(5)</i> to indicate that the user on the terminal <i>line</i> has logged out. <p> @@ -27,7 +27,7 @@ run scripts, e.g.: <p> /command/utmpset -w tty5<br> exec /sbin/getty 38400 tty5 linux<br> -<h2><a name='sect3' href='#toc3'>Options</a></h2> +<h2><a name='sect3'>Options</a></h2> <dl> @@ -36,15 +36,15 @@ run scripts, e.g.: <p> <i>line</i> to the wtmp file. </dd> </dl> -<h2><a name='sect4' href='#toc4'>Exit Codes</a></h2> +<h2><a name='sect4'>Exit Codes</a></h2> <b>utmpset</b> returns 111 on error, 1 on wrong usage, 0 in all other cases. -<h2><a name='sect5' href='#toc5'>See Also</a></h2> +<h2><a name='sect5'>See Also</a></h2> <i>runsv(8)</i>, <i>runsvctrl(8)</i>, <i>runsvstat(8)</i>, <i>runsvdir(8)</i>, <i>runsvchdir(8)</i>, <i>runit(8)</i>, <i>runit-init(8)</i>, <i>getty(8)</i> <p> <i>http://smarden.org/runit/</i> -<h2><a name='sect6' href='#toc6'>Author</a></h2> +<h2><a name='sect6'>Author</a></h2> Gerrit Pape &lt;pape@smarden.org&gt; <p> <hr><p>