runit

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

commit 4f5fc42688128bb272c1502daf220d2a70cd999f
parent ecdded6ef89bd2a7c77336192d624716ccac0086
Author: Gerrit Pape <pape@smarden.org>
Date:   Tue, 14 Nov 2006 23:32:26 +0000

  * doc/index.html: add list of distributions
  * doc/replaceinit.html: point to faq.html#create, faq.html#tell (thx
    David Kaufman).
  * doc/runscripts.html: point to faq.html#createlog.

Diffstat:
Mdoc/index.html | 30++++++++++++++++++++++++++++++
Mdoc/replaceinit.html | 15+++++++++++----
Mdoc/runscripts.html | 72++++++++++++++++++++++++++++++++++++------------------------------------
Mpackage/CHANGES | 5+++++
4 files changed, 82 insertions(+), 40 deletions(-)

diff --git a/doc/index.html b/doc/index.html @@ -198,6 +198,36 @@ I recommend doing this; for instructions, see See <a href="http://smarden.org/runit/">http://smarden.org/runit/</a> for recent informations. <hr> +The following distributions are known to include or package <i>runit</i>: +<ul> +<li><a href="http://packages.qa.debian.org/runit"> +Debian GNU/Linux</a> (as alternative init scheme) +<li><a href="http://http://www.freshports.org/sysutils/runit/"> +FreeBSD</a> +<li><a href="http://www.openbsd.org/cgi-bin/cvsweb/ports/sysutils/runit/"> +OpenBSD</a> +<li><a href="http://pkgsrc.se/wip/runit/"> +NetBSD</a> +<li><a href="http://annvix.org/"> +Annvix</a> (as default init scheme) +<li><a href="http://packages.ubuntu.com/runit"> +Ubuntu</a> (as alternative init scheme) +<li><a href="http://packages.gentoo.org/search/?sstring=runit"> +Gentoo</a> +<li><a href="http://www.smeserver.org/"> +SME server</a> +<li><a href="http://www.opensde.org/"> +OpenSDE</a> +<li><a href="http://www.t2-project.org/"> +T2</a> +<li><a href="http://zinux.cynicbytrade.com/"> +Zinux Linux</a> (as default init scheme) +<li><a href="http://www.gobolinux.org/"> +GoboLinux</a> +</ul> +If you know of more distributions, please +<a href="mailto:supervision@list.skarnet.org">let me know</a>. +<hr> Related links: <ul> <li><a href="http://www.fefe.de/minit/"> diff --git a/doc/replaceinit.html b/doc/replaceinit.html @@ -97,6 +97,12 @@ It is possible to just add <tt>/etc/init.d/rc 2</tt> for having all services from the former runlevel 2 started as one time tasks, but keep the goal above in mind, supervising services has great advantages. <p> +To migrate a service, +<a href="faq.html#create">create a service directory</a>, disable the service +if it is running, disable the service in <tt>/etc/rc.conf</tt> or remove the +service startup from the <tt>/etc/rc.*</tt> scripts and +<a href="faq.html#tell">tell runsvdir</a> about the new service. +<p> Repeat step 4 and 5, using <tt><b>/sbin/runit-init 6</b></tt> to reboot the system, until you are satisfied with your services startup. If anything goes wrong, reboot the system into the default <i>sysvinit</i> @@ -223,10 +229,11 @@ one time task, so the services are started automatically: touch /etc/runit/stopit chmod 0 /etc/runit/stopit </pre> -To migrate a service, create a service directory, disable the service if -it is running, disable the service in <tt>/etc/rc.conf</tt> or remove the -service startup from the <tt>/etc/rc.*</tt> scripts and tell -<a href="runsvdir.8.html">runsvdir</a> about the new service. +To migrate a service, +<a href="faq.html#create">create a service directory</a>, disable the service +if it is running, disable the service in <tt>/etc/rc.conf</tt> or remove the +service startup from the <tt>/etc/rc.*</tt> scripts and +<a href="faq.html#tell">tell runsvdir</a> about the new service. <hr> <a name="macosx"><h2>Replacing init on MacOSX</h2></a> diff --git a/doc/runscripts.html b/doc/runscripts.html @@ -226,7 +226,7 @@ logging console messages</a><br> exec chronyd -d -r -s </pre> This service needs a -<a href="http://cr.yp.to/daemontools/faq/create.html#runlog">log service</a> +<a href="faq.html#createlog">log service</a> to be set up. <hr> <h3><a name="clamav">A <tt>clamd</tt> run script</a></h3> @@ -237,7 +237,7 @@ to be set up. exec setuidgid clamav softlimit -a 40000000 clamd </pre> This service needs a -<a href="http://cr.yp.to/daemontools/faq/create.html#runlog">log service</a> +<a href="faq.html#createlog">log service</a> to be set up. <hr> <h3><a name="clamsmtpd">A <tt>clamsmtpd</tt> run script</a></h3> @@ -248,7 +248,7 @@ to be set up. exec chpst -uclamav clamsmtpd -d 3 </pre> This service needs a -<a href="http://cr.yp.to/daemontools/faq/create.html#runlog">log service</a> +<a href="faq.html#createlog">log service</a> to be set up. <hr> <h3><a name="courier-imap">A <tt>courier-imap</tt> run script</a></h3> @@ -305,7 +305,7 @@ this page</a>. exec dhcpd-2.2.x -f -d -cf ./config eth0 </pre> This service needs a -<a href="http://cr.yp.to/daemontools/faq/create.html#runlog">log service</a> +<a href="faq.html#createlog">log service</a> to be set up. <p> (<i>Solaris 8</i>, uses additional dsvclockd service, would get fired off @@ -326,7 +326,7 @@ automatically, but then it's not supervised) exec /usr/bin/sleep 5 </pre> The in.dhcpd service needs a -<a href="http://cr.yp.to/daemontools/faq/create.html#runlog">log service</a> +<a href="faq.html#createlog">log service</a> to be set up. <hr> <h3><a name="dictd">A <tt>dictd</tt> run script</a></h3> @@ -345,7 +345,7 @@ to be set up. exec dropbear -F -E -p 22 </pre> This service needs a -<a href="http://cr.yp.to/daemontools/faq/create.html#runlog">log service</a> +<a href="faq.html#createlog">log service</a> to be set up. <p> (<i>Linux</i>, running under @@ -356,7 +356,7 @@ to be set up. exec tcpsvd -v -i./peers 0 22 dropbear -i -E </pre> This service needs a -<a href="http://cr.yp.to/daemontools/faq/create.html#runlog">log service</a> +<a href="faq.html#createlog">log service</a> to be set up. <hr> <h3><a name="exim">An <tt>exim</tt> run script</a></h3> @@ -383,7 +383,7 @@ to be set up. exec fam -L -f -v </pre> This service needs a -<a href="http://cr.yp.to/daemontools/faq/create.html#runlog">log service</a> +<a href="faq.html#createlog">log service</a> to be set up. <p> (<i>Debian sarge</i>) @@ -419,7 +419,7 @@ to be set up. exec fcron -f -y </pre> This service needs a -<a href="http://cr.yp.to/daemontools/faq/create.html#runlog">log service</a> +<a href="faq.html#createlog">log service</a> to be set up. <hr> <h3><a name="fetchmail">A <tt>fetchmail</tt> run script</a></h3> @@ -496,7 +496,7 @@ process state for those <i>getties</i>. exec oidentd -i -S -t 10 -u daemon -g daemon </pre> This service needs a -<a href="http://cr.yp.to/daemontools/faq/create.html#runlog">log service</a> +<a href="faq.html#createlog">log service</a> to be set up. <p> (<i>Debian</i>) @@ -506,7 +506,7 @@ to be set up. -C /etc/oidentd/oidentd.conf 2&gt;&amp;1 </pre> This service needs a -<a href="http://cr.yp.to/daemontools/faq/create.html#runlog">log service</a> +<a href="faq.html#createlog">log service</a> to be set up. <hr> <h3><a name="inn">An <tt>innd</tt> run script</a></h3> @@ -531,7 +531,7 @@ to be set up. /usr/local/jabber/jabberd/jabberd -D -c /etc/jabber.xml </pre> This service needs a -<a href="http://cr.yp.to/daemontools/faq/create.html#runlog">log service</a> +<a href="faq.html#createlog">log service</a> to be set up. <pre> #!/bin/sh @@ -541,7 +541,7 @@ to be set up. /usr/local/jabber/jit/jabberd/jabberd -c /etc/jit.xml </pre> This service needs a -<a href="http://cr.yp.to/daemontools/faq/create.html#runlog">log service</a> +<a href="faq.html#createlog">log service</a> to be set up. <hr> <h3><a name="junkbuster">A <tt>junkbuster</tt> run script</a></h3> @@ -586,7 +586,7 @@ to be set up. leafnode </pre> This service needs a -<a href="http://cr.yp.to/daemontools/faq/create.html#runlog">log service</a> +<a href="faq.html#createlog">log service</a> to be set up. <hr> <h3><a name="loglinuxkernel"> @@ -620,7 +620,7 @@ A run script for <tt>logging Linux kernel messages with multilog</tt></a></h3> minidentd -v </pre> This service needs a -<a href="http://cr.yp.to/daemontools/faq/create.html#runlog">log service</a> +<a href="faq.html#createlog">log service</a> to be set up. <hr> <h3><a name="mpd">A <tt>mpd</tt> run script</a></h3> @@ -631,7 +631,7 @@ to be set up. exec mpd --stdout --no-daemon $MPDCONF </pre> This service needs a -<a href="http://cr.yp.to/daemontools/faq/create.html#runlog">log service</a> +<a href="faq.html#createlog">log service</a> to be set up. <hr> <h3><a name="nscd">A <tt>nscd</tt> run script</a></h3> @@ -663,7 +663,7 @@ to be set up. exec /usr/sbin/ntpd -s -d 2>&1 </pre> This service needs a -<a href="http://cr.yp.to/daemontools/faq/create.html#runlog">log service</a> +<a href="faq.html#createlog">log service</a> to be set up. <hr> <h3><a name="nullidentd">A <tt>nullidentd</tt> run script</a></h3> @@ -674,7 +674,7 @@ to be set up. exec tcpsvd -u nobody -x nullidentd-cdb -t 60 0 113 nullidentd </pre> This service needs a -<a href="http://cr.yp.to/daemontools/faq/create.html#runlog">log service</a> +<a href="faq.html#createlog">log service</a> to be set up. <hr> <h3><a name="polipo">A <tt>polipo</tt> run script</a></h3> @@ -686,7 +686,7 @@ to be set up. polipo -c config forbiddenFile="`pwd`"/forbidden diskCacheRoot="`pwd`"/cache </pre> This service needs a -<a href="http://cr.yp.to/daemontools/faq/create.html#runlog">log service</a> +<a href="faq.html#createlog">log service</a> to be set up. <hr> <h3><a name="pop3-ssl">A <tt>pop3-ssl</tt> run script</a></h3> @@ -699,7 +699,7 @@ to be set up. "`cat /var/qmail/control/me`" vchkpw /var/qmail/bin/qmail-pop3d Maildir 2&gt;&amp;1 </pre> This service needs a -<a href="http://cr.yp.to/daemontools/faq/create.html#runlog">log service</a> +<a href="faq.html#createlog">log service</a> to be set up. <hr> <h3><a name="pop3vscan">A <tt>pop3vscan</tt> run script</a></h3> @@ -710,7 +710,7 @@ to be set up. exec setuidgid pop3vscan pop3vscan -d </pre> This service needs a -<a href="http://cr.yp.to/daemontools/faq/create.html#runlog">log service</a> +<a href="faq.html#createlog">log service</a> to be set up. <hr> <h3><a name="portmap">A <tt>portmap</tt> run script</a></h3> @@ -729,7 +729,7 @@ to be set up. -D /var/lib/postgres/data 2&gt;&amp;1 </pre> This service needs a -<a href="http://cr.yp.to/daemontools/faq/create.html#runlog">log service</a> +<a href="faq.html#createlog">log service</a> to be set up. <hr> <h3><a name="powernowd">A <tt>powernowd</tt> run script</a></h3> @@ -770,7 +770,7 @@ to be set up. exec chpst -u privoxy:nogroup privoxy --no-daemon /etc/privoxy/config </pre> This service needs a -<a href="http://cr.yp.to/daemontools/faq/create.html#runlog">log service</a> +<a href="faq.html#createlog">log service</a> to be set up. <hr> <h3><a name="proftpd">A <tt>proftpd</tt> run script</a></h3> @@ -782,7 +782,7 @@ configure it to use 'ErrorLog "/dev/stdout"') exec proftpd -n -d 1 </pre> This service needs a -<a href="http://cr.yp.to/daemontools/faq/create.html#runlog">log service</a> +<a href="faq.html#createlog">log service</a> to be set up. <hr> <h3><a name="pure-ftpd">A <tt>pure-ftpd</tt> run script</a></h3> @@ -801,7 +801,7 @@ to be set up. exec radiusd -f -y -z -lstdout </pre> This service needs a -<a href="http://cr.yp.to/daemontools/faq/create.html#runlog">log service</a> +<a href="faq.html#createlog">log service</a> to be set up. <hr> <h3><a name="rmrtg">A <tt>rmrtg</tt> run script</a></h3> @@ -826,7 +826,7 @@ to be set up. --config /pack/rsync/etc/rsyncd.conf </pre> This service needs a -<a href="http://cr.yp.to/daemontools/faq/create.html#runlog">log service</a> +<a href="faq.html#createlog">log service</a> to be set up. <hr> <h3><a name="samba">A <tt>smbd</tt> run script</a></h3> @@ -838,7 +838,7 @@ to be set up. exec smbd -F -S -d3 </pre> This service needs a -<a href="http://cr.yp.to/daemontools/faq/create.html#runlog">log service</a> +<a href="faq.html#createlog">log service</a> to be set up. <h3>A <tt>nmbd</tt> run script</h3> (<i>Linux</i>) @@ -849,7 +849,7 @@ to be set up. exec nmbd -F -S -d1 </pre> This service needs a -<a href="http://cr.yp.to/daemontools/faq/create.html#runlog">log service</a> +<a href="faq.html#createlog">log service</a> to be set up. <hr> <h3><a name="shoutcast">A <tt>shoutcast</tt> run script</a></h3> @@ -861,7 +861,7 @@ to be set up. /usr/local/sc_serv/bin/sc_serv /etc/sc_serv.conf </pre> This service needs a -<a href="http://cr.yp.to/daemontools/faq/create.html#runlog">log service</a> +<a href="faq.html#createlog">log service</a> to be set up. <hr> <h3><a name="spamd">A <tt>spamd</tt> run script</a></h3> @@ -871,7 +871,7 @@ to be set up. exec spamd -m 20 -a -H -s stderr 2&gt;&amp;1 </pre> This service needs a -<a href="http://cr.yp.to/daemontools/faq/create.html#runlog">log service</a> +<a href="faq.html#createlog">log service</a> to be set up. <hr> <h3><a name="squid">A <tt>squid</tt> run script</a></h3> @@ -889,7 +889,7 @@ to be set up. exec /usr/sbin/sshd -D -e </pre> This service needs a -<a href="http://cr.yp.to/daemontools/faq/create.html#runlog">log service</a> +<a href="faq.html#createlog">log service</a> to be set up. <hr> <h3><a name="sshdtcpserver"> @@ -903,7 +903,7 @@ A <tt>sshd (under tcpserver)</tt> run script</a></h3> sshd -ief config </pre> This service needs a -<a href="http://cr.yp.to/daemontools/faq/create.html#runlog">log service</a> +<a href="faq.html#createlog">log service</a> to be set up. <hr> <h3><a name="statd">A <tt>statd</tt> run script</a></h3> @@ -923,7 +923,7 @@ to be set up. exec rpc.statd -F -d </pre> This service needs a -<a href="http://cr.yp.to/daemontools/faq/create.html#runlog">log service</a> +<a href="faq.html#createlog">log service</a> to be set up. <h3><a name="mountd">A <tt>mountd</tt> run script</a></h3> (<i>Debian</i>) @@ -986,7 +986,7 @@ to be set up. exec /usr/local/tmda/bin/tmda-ofmipd -f -d -R pop3 -p my.host.name:8025 2&gt;&amp;1 </pre> This service needs a -<a href="http://cr.yp.to/daemontools/faq/create.html#runlog">log service</a> +<a href="faq.html#createlog">log service</a> to be set up. <hr> <h3><a name="tomcat">A <tt>tomcat</tt> run script</a></h3> @@ -1017,7 +1017,7 @@ to be set up. softlimit -d300000 /var/vsftpd/bin/vsftpd </pre> This service needs a -<a href="http://cr.yp.to/daemontools/faq/create.html#runlog">log service</a> +<a href="faq.html#createlog">log service</a> to be set up. <hr> <h3><a name="wvdial">A <tt>wvdial</tt> run script</a></h3> @@ -1029,7 +1029,7 @@ file, use <tt>svc -o /service/wvdial</tt> to bring up a ppp connection) exec wvdial ISP </pre> This service needs a -<a href="http://cr.yp.to/daemontools/faq/create.html#runlog">log service</a> +<a href="faq.html#createlog">log service</a> to be set up. <hr> <h3><a name="xdm">A <tt>xdm</tt> run script</a></h3> diff --git a/package/CHANGES b/package/CHANGES @@ -1,3 +1,8 @@ + * doc/index.html: add list of distributions + * doc/replaceinit.html: point to faq.html#create, faq.html#tell (thx + David Kaufman). + * doc/runscripts.html: point to faq.html#createlog. + 1.7.1 Sat, 04 Nov 2006 19:23:29 +0000 * chpst.c, uidgid.c, uidgid.h: support numerical uid gid through