diff options
author | Gerrit Pape <pape@smarden.org> | 2003-05-03 15:57:55 +0000 |
---|---|---|
committer | Gerrit Pape <pape@smarden.org> | 2003-05-03 15:57:55 +0000 |
commit | a90c48599dd09dc2fd8985b818405494e1f30982 (patch) | |
tree | b035a2196ed33d756acd6ca479c5fb8bdec29206 /doc/useinit.html | |
parent | c680551a4d77e7a1c036acb9af909565ca04b82f (diff) | |
download | runit-a90c48599dd09dc2fd8985b818405494e1f30982.tar.gz runit-a90c48599dd09dc2fd8985b818405494e1f30982.tar.xz runit-a90c48599dd09dc2fd8985b818405494e1f30982.zip |
* doc/dependencies.html, doc/useinit.html: new.
* doc/index.html: adapt; reorder programs; runsvstat, runsvctrl installed by default. * doc/install.html: remove dependency on daemontools; create /package. * doc/replaceinit.html, man/runsv.8: typo. * man/svwaitdown.8, man/svwaitup.8: refer to runit and supervise. * svlogd.c: fix counter var namespace. * package/commands: add runsvctrl, runsvstat.
Diffstat (limited to 'doc/useinit.html')
-rw-r--r-- | doc/useinit.html | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/doc/useinit.html b/doc/useinit.html new file mode 100644 index 0000000..37c4123 --- /dev/null +++ b/doc/useinit.html @@ -0,0 +1,47 @@ +<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> +<html> +<head> +<title>runit - use with traditional init</title> +</head> +<body> +<a href="http://smarden.org/pape/">G. Pape</a><br> +<a href="index.html">runit</a><br> +<hr> +<h1>runit - use with traditional init</h1> +<hr> +It's possible to use <i>runit</i>'s service supervision without replacing +the <i>init</i> scheme of the system. +Simply run the <i>stage 2</i> of <i>runit</i> as a service with your +current <i>init</i>. +<p> +Normally this is done by either adding <tt>/etc/runit/2</tt> as command to +</tt>/etc/rc.local</tt>, or by adding an entry for <tt>/etc/runit/2</tt> to +<tt>/etc/inittab</tt>. +<hr> +If your system uses a sysvinit alike init scheme with a <tt>/etc/inittab</tt> +file, do: +<pre> + # cat >>/etc/inittab <<EOT + SV:123456:respawn:/etc/runit/2 + EOT +</pre> +and tell <i>init</i> to reread its configuration, e.g.: +<pre> + # init q +</pre> +<hr> +If your system uses a BSD alike init scheme with a <tt>/etc/rc.local</tt> +script, do: +<pre> + # cat >>/etc/rc.local <<EOT + /etc/runit/2 & + EOT +</pre> +and reboot your system. +<hr> +<address><a href="mailto:pape@smarden.org"> +Gerrit Pape <pape@smarden.org> +</a></address> +<small>$Id$</small> +</body> +</html> |