summary refs log tree commit diff
path: root/man
diff options
context:
space:
mode:
authorGerrit Pape <pape@smarden.org>2001-11-22 17:42:01 +0000
committerGerrit Pape <pape@smarden.org>2001-11-22 17:42:01 +0000
commitf7ccdd14a5c954c1c5f0aab084776c2a49586dc1 (patch)
tree14124814db7129cb8afc2b33641a23694d7ac710 /man
parent54b64b3f09fde903a80fafb0244165e7623998e4 (diff)
downloadrunit-f7ccdd14a5c954c1c5f0aab084776c2a49586dc1.tar.gz
runit-f7ccdd14a5c954c1c5f0aab084776c2a49586dc1.tar.xz
runit-f7ccdd14a5c954c1c5f0aab084776c2a49586dc1.zip
* collects all terminated children in all stages
  * sends sigkill to whole process group if stage2 crashes and waits
    5 seconds before restarting
  * ctraltdel not automatically shuts down, now respects /etc/runit/stopit
  * /etc/runit/ctrlaltdel touches /etc/runit/stopit
  * on shutdown request: send sigterm to stage 2, wait max 5 second, send
    sigkill if still running, leave stage 2, enter stage 3
Diffstat (limited to 'man')
-rw-r--r--man/runit.826
1 files changed, 13 insertions, 13 deletions
diff --git a/man/runit.8 b/man/runit.8
index e14786d..2fd6672 100644
--- a/man/runit.8
+++ b/man/runit.8
@@ -6,7 +6,7 @@ runit \- the UNIX process no 1
 .SH DESCRIPTION
 .B runit
 must be run as Unix process no 1. It performs the system's
-booting, running and shutdown in three stages:
+booting, running, and shutdown in three Stages:
 .SH STAGE 1
 .B runit
 runs
@@ -16,19 +16,25 @@ and waits for it to terminate. The system's one time tasks are done here.
 .B runit
 runs
 .IR /etc/runit/2 ,
-which should not return until system shutdown. Normally
+which should not return until system shutdown; if it crashes, it will be
+restarted. Normally
 .I /etc/runit/2
 starts
 .BR svscanboot (8).
 .B runit
-is able to handle the ctrl-alt-del keyboard request in stage 2, see below.
+is able to handle the ctrl-alt-del keyboard request in Stage 2, see below.
 .SH STAGE 3
 If
 .B runit
-is told to halt or reboot the system, or the Stage 2
-returns without errors, it terminates Stage 2 if it is running and runs
+is told to shutdown the system, or the Stage 2 returns without errors, it
+terminates Stage 2 if it is running, and runs
 .IR /etc/runit/3 .
 The systems tasks to shutdown and halt or reboot are done here.
+Normally in Stage 3
+.I /etc/runit/3
+checks for the file
+.IR /etc/runit/reboot .
+If it exists, the system is rebooted, it is halted otherwise.
 .SH CTRL-ALT-DEL
 If
 .B runit
@@ -38,10 +44,10 @@ exists,
 .B runit
 runs
 .IR /etc/runit/ctrlaltdel ,
-waits for it to terminate and then enters stage 3 for system shutdown.
+waits for it to terminate and then enters Stage 3 for system shutdown.
 .SH SIGNALS
 .B runit
-only accepts signals in stage 2.
+only accepts signals in Stage 2.
 .P
 If
 .B runit
@@ -50,12 +56,6 @@ receives a CONT signal and the file
 exists,
 .B runit
 is told to shutdown the system.
-.P
-Normally in stage 3
-.I /etc/runit/3
-checks for the file
-.IR /etc/runit/reboot .
-If it exists, the system is rebooted, it is halted otherwise.
 .SH SEE ALSO
 init(8),
 runit-halt(8),