runit

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

commit 4a3e2cb771390356b60be2115bf4782ecc7f79b1
parent 5e5ed7086d0f3b973e36ab995bfc2a4d07732462
Author: Gerrit Pape <pape@smarden.org>
Date:   Sat,  6 Nov 2004 17:19:59 +0000

minor; document changes.

Diffstat:
Mdoc/index.html | 25++++++++++++-------------
Mdoc/upgrade.html | 112++++++++++---------------------------------------------------------------------
2 files changed, 26 insertions(+), 111 deletions(-)

diff --git a/doc/index.html b/doc/index.html @@ -8,6 +8,10 @@ <hr> <h1>runit - a UNIX init scheme with service supervision</h1> <hr> +See <a href="http://smarden.org/runit1/">here</a> for the current stable +release 1.0.x of <i>runit</i>. +<p> +<hr> <a href="install.html">How to install runit</a><br> <a href="upgrade.html">Upgrading from previous versions of runit</a> <p> @@ -42,8 +46,8 @@ replacement for <a href="ftp://ftp.cistron.nl/pub/people/miquels/sysvinit/">sysvinit</a> and other init schemes. <i>runit</i> runs on <b>GNU/Linux</b>, -<b>OpenBSD</b>, <b>FreeBSD</b>, <b>MacOSX</b>, <b>Solaris</b>, and can -easily be adapted to other Unix operating systems. +<b>*BSD</b>, <b>MacOSX</b>, <b>Solaris</b>, and can easily be adapted to +other Unix operating systems. If <i>runit</i> runs for you on any other operating system, please <a href="mailto:supervision@list.skarnet.org">let me know</a>. <p> @@ -56,7 +60,8 @@ kernel. <i>runit</i> is discussed on the <a href="http://skarnet.org/lists/#supervision"> &lt;supervision@list.skarnet.org&gt;</a> -mailing list. To subscribe send an empty email to +mailing list. +To subscribe send an empty email to <a href="mailto:supervision-subscribe@list.skarnet.org"> &lt;supervision-subscribe@list.skarnet.org&gt;</a>. <p> @@ -204,24 +209,18 @@ for recent informations. <hr> Related links: <ul> -<li><a href="http://packages.debian.org/runit"> -runit Debian package</a> -<li><a href="http://packages.debian.org/runit-run"> -runit-run Debian package</a> -<li><a href="http://www.freshports.org/sysutils/runit/"> -runit FreeBSD port</a> -<li><a href="http://rpmfind.net/linux/rpm2html/search.php?query=runit"> -runit RPMs</a> <li><a href="http://www.fefe.de/minit/"> minit</a> - a small yet feature-complete init <li><a href="http://multivac.cwru.edu/svscan-1/"> svscan as process 1</a> - by Paul Jarc <li><a href="ftp://ftp.cistron.nl/pub/people/miquels/sysvinit/"> sysvinit</a> - source code -<li><a href="http://www.openbsd.org/cgi-bin/cvsweb/src/sbin/init/"> -OpenBSD's init</a> - CVS repository <li><a href="http://www.freebsd.org/cgi/cvsweb.cgi/src/sbin/init/"> FreeBSD's init</a> - CVS repository +<li><a href="http://cvsweb.netbsd.org/bsdweb.cgi/src/sbin/init/"> +NetBSD's init</a> - CVS repository +<li><a href="http://www.openbsd.org/cgi-bin/cvsweb/src/sbin/init/"> +OpenBSD's init</a> - CVS repository <li><a href="http://www.atnf.csiro.au/~rgooch/linux/boot-scripts/"> Linux Boot Scripts</a> - by Richard Gooch </ul> diff --git a/doc/upgrade.html b/doc/upgrade.html @@ -9,105 +9,21 @@ <hr> <h1>runit - upgrading from previous versions</h1> <hr> -<h3>0.13.0 or 0.13.1 to 1.0.x</h3> -No further action from you is required. -<h3>0.12.0 or 0.12.1 to 0.13.0 or 0.13.1</h3> -runit's service logging daemon <a href="svlogd.8.html">svlogd</a> now can -be configured to transmit selected log messages through UDP. -For reliable network logging through TCP with support for authentication, -authorization, and encryption, and also on how to use the new feature to -configure syslog compatible remote UDP system logging, see the -<a href="http://smarden.org/socklog/">socklog</a> package. -<h3>0.11.x to 0.12.0 or 0.12.1</h3> -With this version runit supports running under sysvinit on the Solaris -platform. -Replacing init on Solaris is not yet supported. -The services directory now defaults to /var/service/ instead of /service/. -<h3>0.10.0 to 0.11.0 or 0.11.1 or 0.11.2</h3> -This version introduces the new <a href="chpst.8.html">chpst</a> program, -which changes the process state as specified by command line options, and -runs another program with this process state. -<h3>0.9.x to 0.10.0</h3> -No further action from you is required. -<h3>0.8.0 or 0.8.1 to 0.9.x</h3> -The <a href="svlogd.8.html">svlogd</a> program is new. -<i>svlogd</i> is a service logging daemon designed to be run from -<tt>log/run</tt> files, similar to -<a href="http://cr.yp.to/daemontools/multilog.html">multilog</a>. -The <i>runsvdir</i> program no longer propagates the TERM signal to the -<i>runsv</i> processes if it receives one, but exits immediately, and -<i>runsvdir</i> now supports handling of the HANGUP signal, see the -<a href="runsvdir.8.html">man page</a> for details. -<a href="svwaitdown.8.html">svwaitdown</a> has changed to additionally send -the <tt>down</tt> command to the <i>services</i> it works on, if not yet -done. -<h3>0.7.x to 0.8.0 or 0.8.1</h3> -With this version <i>runit</i>'s handling of its magic files has changed -slightly for better support of read-only root filesystems. -You should adapt stages 1 and 3 and <tt>ctrlaltdel</tt> to set file -permissions on the magic files instead of creating and removing them; please -take a look at the examples in <tt>/package/admin/runit/etc/</tt>. +<h3>1.0.x to 1.1.0</h3> +The <a href="svlogd.8.html">svlogd</a> program now interprets the ``e'' and +``E'' configuration options so that they can be combined to select or +deselect log messages to be written to standard error, similar to the ``+'' +and ``-'' options for the rotated log. +It also provides the new ``t'' and ``N'' configuration options, see the +<a href="svlogd.8.html">man page</a> for details. +The <a href="chpst.8.html">chpst</a> program supports adjusting the nice +level through the new -n command line option. <p> -The <a href="runit.8.html">runit</a> program now calls the <tt>reboot()</tt> -function if possible, and if stage 3 didn't take care of this. -<h3>0.6.0 to 0.7.0 or 0.7.1 or 0.7.2</h3> -This version introduces runlevel support with the new -<a href="runsvchdir.8.html">runsvchdir</a> program. See the -<a href="runlevels.html">runlevels documentation</a> for more information. -<p> -The <a href="runsvdir.8.html">runsvdir</a> and -<a href="runsv.8.html">runsv</a> programs have changed and should be -restarted. -If you want to switch runlevels, <tt>runsvdir</tt> must be restarted. -This is done on the next reboot or by following these steps: -<p> -<ul> -<li> -Login on console 5. Bring all services other than the <tt>getty-5</tt> -service down: -<pre> - # cd /service - # for i in *; do if test "$i" != getty-5; then svc -d $i; fi; done -</pre> -<li> -Check for the services being down: -<pre> - # svstat /service/* -</pre> -<li> -If all services other than the <tt>getty-5</tt> service are down, kill -<tt>runsvdir</tt> by sending it a HUP signal: -<pre> - # kill -HUP &lt;pid_of_runsvdir&gt; -</pre> -Replace <tt>&lt;pid_of_runsvdir&gt;</tt> with the pid of <tt>runsvdir</tt>. -The <tt>runit</tt> program starts the new <tt>runsvdir</tt> program now, -which starts the new <tt>runsv</tt> processes. -</ul> -<h3>0.5.0 to 0.6.0</h3> -There are two new programs, <a href="runsvdir.8.html">runsvdir</a> and -<a href="runsv.8.html">runsv</a>, which replace the -<tt>svscanboot</tt>/<tt>svscan</tt>/<tt>readproctitle</tt>/<tt>supervise</tt> -combination of daemontools. Please adapt <tt>runit</tt>'s stage 2 -(<tt>/etc/runit/2</tt>) to use <tt>runsvdir</tt> instead of -<tt>svscanboot</tt>; see the examples in <tt>/package/admin/runit/etc/</tt>. -The change takes effect on the next reboot or if you stop all services and -kill <tt>svscan</tt> and <tt>readproctitle</tt>. -<tt>runit</tt> then automatically restarts stage 2. -<p> -The <a href="svwaitdown.8.html">svwaitdown</a> program has new options: -k -and -x. -They are used in <tt>runit</tt>'s stage 3 (<tt>/etc/runit/3</tt>). -Please adapt your <tt>/etc/runit/3</tt> script after the changes to stage 2 -have taken effect (<tt>runsvdir</tt> must run instead of -<tt>svscanboot</tt>); see the examples in -<tt>/package/admin/runit/etc/</tt>. -<h3>0.4.1 to 0.5.0</h3> -There is a new program: <a href="utmpset.8.html">utmpset</a>. -This program is used in the getty run scripts to enable local login -accounting. -You might want to adapt your getty run scripts <tt>/service/getty-*/run</tt>, -see the examples in <tt>/package/admin/runit/etc/</tt>. +Staring with this version, <tt>/etc/runit/2</tt> by default runs the +<a href="runsvdir.8.html">runsvdir</a> program with the -P option. +To adapt edit <tt>/etc/runit/2</tt> and change the invocation of +<a href="runsvdir.8.html">runsvdir</a> accordingly, see +<a href="../etc/2"">here</a>. <hr> <address><a href="mailto:pape@smarden.org"> Gerrit Pape &lt;pape@smarden.org&gt;