diff options
author | Gerrit Pape <pape@smarden.org> | 2006-05-10 20:58:26 +0000 |
---|---|---|
committer | Gerrit Pape <pape@smarden.org> | 2006-05-10 20:58:26 +0000 |
commit | 2e3297e68726f529958c5d5ac0ec95566f21fa69 (patch) | |
tree | eb70b3169cab4a26e38bfc04c077dcae344dca92 | |
parent | fed0b5a233e677db02a4e52a107dd8daaa347b36 (diff) | |
download | runit-2e3297e68726f529958c5d5ac0ec95566f21fa69.tar.gz runit-2e3297e68726f529958c5d5ac0ec95566f21fa69.tar.xz runit-2e3297e68726f529958c5d5ac0ec95566f21fa69.zip |
* man/runsvctrl.8, man/runsvstat.8, man/svwaitup.8, man/svwaitdown.8,
doc/runsvctrl.html, doc/runsvstat.html, doc/svwaitdown.html, doc/svwaitup.html: remove; obsolete.
-rw-r--r-- | doc/runsvctrl.8.html | 114 | ||||
-rw-r--r-- | doc/runsvstat.8.html | 62 | ||||
-rw-r--r-- | doc/svwaitdown.8.html | 79 | ||||
-rw-r--r-- | doc/svwaitup.8.html | 72 | ||||
-rw-r--r-- | man/runsvctrl.8 | 121 | ||||
-rw-r--r-- | man/runsvstat.8 | 70 | ||||
-rw-r--r-- | man/svwaitdown.8 | 110 | ||||
-rw-r--r-- | man/svwaitup.8 | 103 | ||||
-rw-r--r-- | package/CHANGES | 5 |
9 files changed, 4 insertions, 732 deletions
diff --git a/doc/runsvctrl.8.html b/doc/runsvctrl.8.html deleted file mode 100644 index f067e32..0000000 --- a/doc/runsvctrl.8.html +++ /dev/null @@ -1,114 +0,0 @@ - - - -<html> -<head> -<title>runsvctrl(8) manual page</title> -</head> -<body bgcolor='white'> -<a href='http://smarden.org/pape/'>G. Pape</a><br><a href='index.html'>runit</A><hr><p> - -<h2><a name='sect0'>Name</a></h2> -runsvctrl - controls a service monitored by <i><b>runsv</b>(8)</i>. -<h2><a name='sect1'>Synopsis</a></h2> -<b>runsvctrl</b> -<i>command</i> <i>services</i> -<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'>Commands</a></h2> - -<dl> - -<dt><b>up</b> </dt> -<dd>If the service -is not running, start it. If the service stops, restart it. </dd> - -<dt><b>down</b> </dt> -<dd>If the service -is running, send it a TERM signal. If ./run exits, start ./finish if it exists. -After it stops, do not restart service. </dd> - -<dt><b>once</b> </dt> -<dd>If the service is not running, -start it. Do not restart it if it stops. </dd> - -<dt><b>pause</b> </dt> -<dd>If the service is running, -send it a STOP signal. </dd> - -<dt><b>cont</b> </dt> -<dd>If the service is running, send it a CONT signal. -</dd> - -<dt><b>hup</b> </dt> -<dd>If the service is running, send it a HUP signal. </dd> - -<dt><b>alarm</b> </dt> -<dd>If the service -is running, send it a ALRM signal. </dd> - -<dt><b>interrupt</b> </dt> -<dd>If the service is running, -send it a INT signal. </dd> - -<dt><b>quit</b> </dt> -<dd>If the service is running, send it a QUIT signal. </dd> - -<dt><b>1</b> </dt> -<dd>If the service is running, send it a USR1 signal. </dd> - -<dt><b>2</b> </dt> -<dd>If the service is running, send it a USR2 signal. </dd> - -<dt><b>term</b> </dt> -<dd>If the service is running, send it a TERM signal. -</dd> - -<dt><b>kill</b> </dt> -<dd>If the service is running, send it a KILL signal. </dd> - -<dt><b>exit</b> </dt> -<dd>If the service -is running, send it a TERM signal. Do not restart the service. If the service -is down, and no log service exists, <i><b>runsv</b>(8)</i> exits. If the service is down -and a log service exists, send a TERM signal to the log service. If the -log service is down, <i><b>runsv</b>(8)</i> exits. This command is ignored if it is given -to <i>service</i>/log/supervise/control. </dd> -</dl> -<p> -<b>runsvctrl</b> actually looks only at the first -character of <i>command</i>. -<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 <i>service</i> that caused an error (e.g. -the directory is not controlled by a <i><b>runsv</b>(8)</i> 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'>See Also</a></h2> -<i>sv(8)</i>, <i>runsv(8)</i>, <i>chpst(8)</i>, <i>svlogd(8)</i>, <i>runit(8)</i>, <i>runit-init(8)</i>, -<i>runsvdir(8)</i>, <i>runsvchdir(8)</i>, <i>runsvstat(8)</i> <p> -<i>http://smarden.org/runit/</i> -<h2><a name='sect6'>Author</a></h2> -Gerrit -Pape <pape@smarden.org> <p> - -<hr><p> -<a name='toc'><b>Table of Contents</b></a><p> -<ul> -<li><a name='toc0' href='#sect0'>Name</a></li> -<li><a name='toc1' href='#sect1'>Synopsis</a></li> -<li><a name='toc2' href='#sect2'>Description</a></li> -<li><a name='toc3' href='#sect3'>Commands</a></li> -<li><a name='toc4' href='#sect4'>Exit Codes</a></li> -<li><a name='toc5' href='#sect5'>See Also</a></li> -<li><a name='toc6' href='#sect6'>Author</a></li> -</ul> -</body> -</html> diff --git a/doc/runsvstat.8.html b/doc/runsvstat.8.html deleted file mode 100644 index 0e89576..0000000 --- a/doc/runsvstat.8.html +++ /dev/null @@ -1,62 +0,0 @@ - - - -<html> -<head> -<title>runsvstat(8) manual page</title> -</head> -<body bgcolor='white'> -<a href='http://smarden.org/pape/'>G. Pape</a><br><a href='index.html'>runit</A><hr><p> - -<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'>Synopsis</a></h2> -<b>runsvstat</b> -[ <b>-l</b> ] <i>services</i> -<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> -is successfully running this <i>service</i>, and if so, prints one human-readable -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'>Options</a></h2> - -<dl> - -<dt><b>-l</b> </dt> -<dd>log service. Check for each <i>service</i> if -there exists a corresponding <i>log</i> <i>service</i>. If so, print an additional, indented, -line reporting the status of the <i>log</i> <i>service</i>. </dd> -</dl> - -<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> -that caused an error (e.g. the directory is not controlled by a <i><b>runsv</b>(8)</i> -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'>See Also</a></h2> -<i>sv(8)</i>, <i>runsv(8)</i>, <i>chpst(8)</i>, -<i>svlogd(8)</i>, <i>runit(8)</i>, <i>runit-init(8)</i>, <i>runsvdir(8)</i>, <i>runsvchdir(8)</i>, <i>runsvctrl(8)</i> -<p> -<i>http://smarden.org/runit/</i> -<h2><a name='sect6'>Author</a></h2> -Gerrit Pape <pape@smarden.org> <p> - -<hr><p> -<a name='toc'><b>Table of Contents</b></a><p> -<ul> -<li><a name='toc0' href='#sect0'>Name</a></li> -<li><a name='toc1' href='#sect1'>Synopsis</a></li> -<li><a name='toc2' href='#sect2'>Description</a></li> -<li><a name='toc3' href='#sect3'>Options</a></li> -<li><a name='toc4' href='#sect4'>Exit Codes</a></li> -<li><a name='toc5' href='#sect5'>See Also</a></li> -<li><a name='toc6' href='#sect6'>Author</a></li> -</ul> -</body> -</html> diff --git a/doc/svwaitdown.8.html b/doc/svwaitdown.8.html deleted file mode 100644 index 934e43b..0000000 --- a/doc/svwaitdown.8.html +++ /dev/null @@ -1,79 +0,0 @@ - - - -<html> -<head> -<title>svwaitdown(8) manual page</title> -</head> -<body bgcolor='white'> -<a href='http://smarden.org/pape/'>G. Pape</a><br><a href='index.html'>runit</A><hr><p> - -<h2><a name='sect0'>Name</a></h2> -svwaitdown - waits for services controlled by <i>runsv(8)</i> to be down -<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'>Description</a></h2> -<i>services</i> consists of one or more -arguments, each argument naming a service directory. <p> -<b>svwaitdown</b> sends each -<i>service</i> given at the command line the ‘‘down’’ command, and waits for it to -become down. The <i>services</i> given at the command line must be controlled by -<i><b>runsv</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'>Options</a></h2> - -<dl> - -<dt><b>-v</b> </dt> -<dd>verbose. Print verbose messages to stderr. -</dd> - -<dt><b>-t <i>sec</b> </i></dt> -<dd>Set the timeout for waiting for <i>services</i> to become down to <i>sec</i> seconds. -<i>sec</i> must be between 1 and 6000. Default is 600 (10 minutes). </dd> - -<dt><b>-k</b> </dt> -<dd>Kill. If the -timeout is reached before all <i>services</i> are down, tell the <i><b>runsv</b>(8)</i> processes -to send the <i>services</i> a KILL signal. </dd> - -<dt><b>-x</b> </dt> -<dd>Exit. Send each <i>service</i> the ‘‘exit’’ command -additionally to the ‘‘down’’ command, and wait for the corresponding <i><b>runsv</b>(8)</i> -processes to exit instead for the <i>services</i> to be down. </dd> -</dl> - -<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 <i><b>runsv (8)</i>,</b> but no supervisor process is currently running in the directory, -<b>svwaitdown</b> treats this <i>service</i> as if it would be down. <p> -For each <i>service</i> -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 on -error, or if the timeout <i>sec</i> was reached. -<h2><a name='sect5'>See Also</a></h2> -<i>sv(8)</i>, <i>runsv(8)</i>, <i>chpst(8)</i>, -<i>svlogd(8)</i>, <i>runit(8)</i>, <i>runit-init(8)</i>, <i>runsvdir(8)</i>, <i>runsvchdir(8)</i>, <i>svwaitup(8)</i> -<p> -<i>http://smarden.org/runit/</i> -<h2><a name='sect6'>Author</a></h2> -Gerrit Pape <pape@smarden.org> <p> - -<hr><p> -<a name='toc'><b>Table of Contents</b></a><p> -<ul> -<li><a name='toc0' href='#sect0'>Name</a></li> -<li><a name='toc1' href='#sect1'>Synopsis</a></li> -<li><a name='toc2' href='#sect2'>Description</a></li> -<li><a name='toc3' href='#sect3'>Options</a></li> -<li><a name='toc4' href='#sect4'>Exit Codes</a></li> -<li><a name='toc5' href='#sect5'>See Also</a></li> -<li><a name='toc6' href='#sect6'>Author</a></li> -</ul> -</body> -</html> diff --git a/doc/svwaitup.8.html b/doc/svwaitup.8.html deleted file mode 100644 index 65833a6..0000000 --- a/doc/svwaitup.8.html +++ /dev/null @@ -1,72 +0,0 @@ - - - -<html> -<head> -<title>svwaitup(8) manual page</title> -</head> -<body bgcolor='white'> -<a href='http://smarden.org/pape/'>G. Pape</a><br><a href='index.html'>runit</A><hr><p> - -<h2><a name='sect0'>Name</a></h2> -svwaitup - waits for services controlled by <i>runsv(8)</i> to be up -<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'>Description</a></h2> -<i>services</i> consists of one or more arguments, -each argument naming a service directory. <p> -<b>svwaitup</b> checks each <i>service</i> given -at the command line for being at least the specified number of seconds -<i>sec</i> up. The <i>services</i> given at the command line must be controlled by <i><b>runsv</b>(8)</i>. -<p> -<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'>Options</a></h2> - -<dl> - -<dt><b>-v</b> </dt> -<dd>verbose. Print verbose -messages to stderr. </dd> - -<dt><b>-s <i>sec</b> </i></dt> -<dd>Set the minimum number of seconds each <i>service</i> -has to be up to <i>sec</i> seconds. <i>sec</i> must be between 1 and 600. Default is 2. -</dd> -</dl> - -<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 <b>svwaitup</b> exits 0, it does not guarantee that all <i>services</i> -are actually running. A <i>service</i> could have crashed immediatly after <b>svwaitup</b> -was successfully checking it to be up <i>sec</i> seconds. <i>services</i> should be designed -not to rely on <b>svwaitup</b> to resolve dependencies. <p> -For each <i>service</i> that is -down and not requested to become up, or that causes an error while checking -(e.g. <i><b>runsv</b>(8)</i> 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'>See Also</a></h2> -<i>sv(8)</i>, -<i>runsv(8)</i>, <i>chpst(8)</i>, <i>svlogd(8)</i>, <i>runit(8)</i>, <i>runit-init(8)</i>, <i>runsvdir(8)</i>, <i>runsvchdir(8)</i>, -<i>svwaitdown(8)</i> <p> -<i>http://smarden.org/runit/</i> -<h2><a name='sect6'>Author</a></h2> -Gerrit Pape <pape@smarden.org> -<p> - -<hr><p> -<a name='toc'><b>Table of Contents</b></a><p> -<ul> -<li><a name='toc0' href='#sect0'>Name</a></li> -<li><a name='toc1' href='#sect1'>Synopsis</a></li> -<li><a name='toc2' href='#sect2'>Description</a></li> -<li><a name='toc3' href='#sect3'>Options</a></li> -<li><a name='toc4' href='#sect4'>Exit Codes</a></li> -<li><a name='toc5' href='#sect5'>See Also</a></li> -<li><a name='toc6' href='#sect6'>Author</a></li> -</ul> -</body> -</html> diff --git a/man/runsvctrl.8 b/man/runsvctrl.8 deleted file mode 100644 index b653791..0000000 --- a/man/runsvctrl.8 +++ /dev/null @@ -1,121 +0,0 @@ -.TH runsvctrl 8 -.SH NAME -runsvctrl \- controls a service monitored by -.BR runsv (8). -.SH SYNOPSIS -.B runsvctrl -.I command -.I services -.SH DESCRIPTION -.I services -consists of one or more arguments, each argument naming a directory used by -.BR runsv (8). -.I command -is one of up, down, once, pause, cont, hup, alarm, interrupt, 1, 2, term, -kill, or exit. -.P -For each -.I service -of -.IR services , -.B runsvctrl -sends the command -.I command -to the -.IR service , -which must be controlled by -.BR runsv (8). -.SH COMMANDS -.TP -.B up -If the service is not running, start it. -If the service stops, restart it. -.TP -.B down -If the service is running, send it a TERM signal. -If ./run exits, start ./finish if it exists. -After it stops, do not restart service. -.TP -.B once -If the service is not running, start it. -Do not restart it if it stops. -.TP -.B pause -If the service is running, send it a STOP signal. -.TP -.B cont -If the service is running, send it a CONT signal. -.TP -.B hup -If the service is running, send it a HUP signal. -.TP -.B alarm -If the service is running, send it a ALRM signal. -.TP -.B interrupt -If the service is running, send it a INT signal. -.TP -.B quit -If the service is running, send it a QUIT signal. -.TP -.B 1 -If the service is running, send it a USR1 signal. -.TP -.B 2 -If the service is running, send it a USR2 signal. -.TP -.B term -If the service is running, send it a TERM signal. -.TP -.B kill -If the service is running, send it a KILL signal. -.TP -.B exit -If the service is running, send it a TERM signal. -Do not restart the service. -If the service is down, and no log service exists, -.BR runsv (8) -exits. -If the service is down and a log service exists, send a TERM signal to the -log service. -If the log service is down, -.BR runsv (8) -exits. -This command is ignored if it is given to -.IR service /log/supervise/control. -.P -.BR runsvctrl -actually looks only at the first character of -.IR command . -.SH EXIT CODES -.B runsvctrl -exits 0, if the -.I command -was sent successfully to all -.IR services . -.P -For each -.I service -that caused an error (e.g. the directory is not controlled by a -.BR runsv (8) -process), -.B runsvctrl -increases the exit code by one and exits non zero. -The maximum is 100. -.P -.B runsvctrl -exits 111 on error. -.SH SEE ALSO -sv(8), -runsv(8), -chpst(8), -svlogd(8), -runit(8), -runit-init(8), -runsvdir(8), -runsvchdir(8), -runsvstat(8) -.P -http://smarden.org/runit/ -.SH AUTHOR -Gerrit Pape <pape@smarden.org> diff --git a/man/runsvstat.8 b/man/runsvstat.8 deleted file mode 100644 index e6ac2e1..0000000 --- a/man/runsvstat.8 +++ /dev/null @@ -1,70 +0,0 @@ -.TH runsvstat 8 -.SH NAME -runsvstat \- prints the status of services monitored by -.BR runsv (8). -.SH SYNOPSIS -.B runsvstat -[ -.B \-l -] -.I services -.SH DESCRIPTION -.I services -consists of one or more arguments, each argument naming a directory. -.P -.B runsvstat -checks for each directory if -.BR runsv (8) -is successfully running this -.IR service , -and if so, prints one human-readable line reporting the status of this -.IR service . -Optionally -.BR runsvstat (8) -prints a second line, also in human-readable format, reporting the status -of the corresponding -.I log -.IR service . -.SH OPTIONS -.TP -.B \-l -log service. -Check for each -.I service -if there exists a corresponding -.I log -.IR service . -If so, print an additional, indented, line reporting the status of the -.I log -.IR service . -.SH EXIT CODES -.B runsvstat -exits 0, if the states of all -.I services -were reported successfully. -.P -For each -.I service -that caused an error (e.g. the directory is not controlled by a -.BR runsv (8) -process), -.B runsvstat -increases the exit code by one and exits non zero. -The maximum is 100. -.P -.B runsvstat -exits 111 on error. -.SH SEE ALSO -sv(8), -runsv(8), -chpst(8), -svlogd(8), -runit(8), -runit-init(8), -runsvdir(8), -runsvchdir(8), -runsvctrl(8) -.P -http://smarden.org/runit/ -.SH AUTHOR -Gerrit Pape <pape@smarden.org> diff --git a/man/svwaitdown.8 b/man/svwaitdown.8 deleted file mode 100644 index e224b3c..0000000 --- a/man/svwaitdown.8 +++ /dev/null @@ -1,110 +0,0 @@ -.TH svwaitdown 8 -.SH NAME -svwaitdown \- waits for services controlled by runsv(8) to be down -.SH SYNOPSIS -.B svwaitdown -[ -.B \-v -] [ -.B \-k -] [ -.B \-t -.I sec -] -.I services -.SH DESCRIPTION -.I services -consists of one or more arguments, each argument naming a service directory. -.P -.B svwaitdown -sends each -.I service -given at the command line the ``down'' command, and waits for it to become -down. -The -.I services -given at the command line must be controlled by -.BR runsv (8). -.P -.B svwaitdown -blocks, limited by a -.IR timeout , -until all -.I services -are down or reports errors. -.SH OPTIONS -.TP -.B \-v -verbose. -Print verbose messages to stderr. -.TP -.B \-t \fIsec -Set the timeout for waiting for -.I services -to become down to -.I sec -seconds. -.I sec -must be between 1 and 6000. Default is 600 (10 minutes). -.TP -.B \-k -Kill. -If the timeout is reached before all -.I services -are down, tell the -.BR runsv (8) -processes to send the -.I services -a KILL signal. -.TP -.B \-x -Exit. -Send each -.I service -the ``exit'' command additionally to the ``down'' command, and wait for the -corresponding -.BR runsv (8) -processes to exit instead for the -.I services -to be down. -.SH EXIT CODES -.B svwaitdown -returns 0 as soon as all -.I services -are down. -.P -If a -.I service -is usually controlled by -.B runsv (8), -but no supervisor process is currently running in the directory, -.B svwaitdown -treats this -.I service -as if it would be down. -.P -For each -.I service -that causes an error while checking, -.B svwaitdown -increases the exit code by one and exits non zero. -The maximum is 100. -.P -.B svwaitdown -returns 111 on error, or if the timeout -.I sec -was reached. -.SH SEE ALSO -sv(8), -runsv(8), -chpst(8), -svlogd(8), -runit(8), -runit-init(8), -runsvdir(8), -runsvchdir(8), -svwaitup(8) -.P -http://smarden.org/runit/ -.SH AUTHOR -Gerrit Pape <pape@smarden.org> diff --git a/man/svwaitup.8 b/man/svwaitup.8 deleted file mode 100644 index badfb22..0000000 --- a/man/svwaitup.8 +++ /dev/null @@ -1,103 +0,0 @@ -.TH svwaitup 8 -.SH NAME -svwaitup \- waits for services controlled by runsv(8) to be up -.SH SYNOPSIS -.B svwaitup -[ -.B \-v -] -[ -.B \-s -.I sec -] -.I services -.SH DESCRIPTION -.I services -consists of one or more arguments, each argument naming a service directory. -.P -.B svwaitup -checks each -.I service -given at the command line for being at least the specified number of seconds -.I sec -up. -The -.I services -given at the command line must be controlled by -.BR runsv (8). -.P -.B svwaitup -blocks until all -.I services -were up and running at least -.I sec -seconds when -.B svwaitup -was checking or reports errors. -.SH OPTIONS -.TP -.B \-v -verbose. -Print verbose messages to stderr. -.TP -.B \-s \fIsec -Set the minimum number of seconds each -.I service -has to be up to -.I sec -seconds. -.I sec -must be between 1 and 600. -Default is 2. -.SH EXIT CODES -.B svwaitup -returns 0 as soon as all -.I services -were at least -.I sec -seconds up. -.P -.BR Note : -If -.B svwaitup -exits 0, it does not guarantee that all -.I services -are actually running. -A -.I service -could have crashed immediatly after -.B svwaitup -was successfully checking it to be up -.I sec -seconds. -.I services -should be designed not to rely on -.B svwaitup -to resolve dependencies. -.P -For each -.I service -that is down and not requested to become up, or that causes an error while -checking (e.g. -.BR runsv (8) -is not running), -.B svwaitup -increases the exit code by one and exits non zero. -The maximum is 100. -.P -.B svwaitup -returns 111 on error. -.SH SEE ALSO -sv(8), -runsv(8), -chpst(8), -svlogd(8), -runit(8), -runit-init(8), -runsvdir(8), -runsvchdir(8), -svwaitdown(8) -.P -http://smarden.org/runit/ -.SH AUTHOR -Gerrit Pape <pape@smarden.org> diff --git a/package/CHANGES b/package/CHANGES index 0405a63..b42b9dd 100644 --- a/package/CHANGES +++ b/package/CHANGES @@ -1,9 +1,12 @@ 1.5.1 -Wed, 10 May 2006 20:47:34 +0000 +Wed, 10 May 2006 20:55:35 +0000 * runsv.c: delay restart of log service at least 1 sec, just as the main service. * runsvdir.c: don't double-copy filedescriptor. * package/README, package/COPYING: 2006. + * man/runsvctrl.8, man/runsvstat.8, man/svwaitup.8, man/svwaitdown.8, + doc/runsvctrl.html, doc/runsvstat.html, doc/svwaitdown.html, + doc/svwaitup.html: remove; obsolete. 1.5.0 Sun, 16 Apr 2006 12:26:50 +0000 |