From a90c48599dd09dc2fd8985b818405494e1f30982 Mon Sep 17 00:00:00 2001 From: Gerrit Pape Date: Sat, 3 May 2003 15:57:55 +0000 Subject: * 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. --- doc/useinit.html | 47 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 doc/useinit.html (limited to 'doc/useinit.html') 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 @@ + + + +runit - use with traditional init + + +G. Pape
+runit
+
+

runit - use with traditional init

+
+It's possible to use runit's service supervision without replacing +the init scheme of the system. +Simply run the stage 2 of runit as a service with your +current init. +

+Normally this is done by either adding /etc/runit/2 as command to +/etc/rc.local, or by adding an entry for /etc/runit/2 to +/etc/inittab. +


+If your system uses a sysvinit alike init scheme with a /etc/inittab +file, do: +
+  # cat >>/etc/inittab <<EOT
+  SV:123456:respawn:/etc/runit/2
+  EOT
+
+and tell init to reread its configuration, e.g.: +
+  # init q
+
+
+If your system uses a BSD alike init scheme with a /etc/rc.local +script, do: +
+  # cat >>/etc/rc.local <<EOT
+  /etc/runit/2 &
+  EOT
+
+and reboot your system. +
+
+Gerrit Pape <pape@smarden.org> +
+$Id$ + + -- cgit 1.4.1