diff options
author | Gerrit Pape <pape@smarden.org> | 2001-12-23 00:02:51 +0000 |
---|---|---|
committer | Gerrit Pape <pape@smarden.org> | 2001-12-23 00:02:51 +0000 |
commit | f4a253d89f80213c2bc763df50c5756c53cf4f5f (patch) | |
tree | b842f20bf910d433db21065e33a55075da40ca46 /doc/runit.8.html | |
parent | 73c214685fa2c90c74aac52e8662dc292b9aa1a7 (diff) | |
download | runit-f4a253d89f80213c2bc763df50c5756c53cf4f5f.tar.gz runit-f4a253d89f80213c2bc763df50c5756c53cf4f5f.tar.xz runit-f4a253d89f80213c2bc763df50c5756c53cf4f5f.zip |
minor.
Diffstat (limited to 'doc/runit.8.html')
-rw-r--r-- | doc/runit.8.html | 58 |
1 files changed, 29 insertions, 29 deletions
diff --git a/doc/runit.8.html b/doc/runit.8.html index 3d982de..167a7e2 100644 --- a/doc/runit.8.html +++ b/doc/runit.8.html @@ -9,46 +9,46 @@ <a href="http://smarden.org/pape/">G. Pape</a><br><A HREF="index.html">runit</A><hr><P> <H2><A NAME="sect0">Name</A></H2> -runit - the UNIX process no 1 +runit - a UNIX process no 1 <H2><A NAME="sect1">Synopsis</A></H2> <B>runit</B> <H2><A NAME="sect2">Description</A></H2> -<B>runit</B> must be -run as Unix process no 1. It performs the system's booting, running, and -shutdown in three Stages: +<B>runit</B> must be run +as Unix process no 1. It performs the system's booting, running, and shutdown +in three Stages: <H2><A NAME="sect3">Stage 1</A></H2> -<B>runit</B> runs <I>/etc/runit/1</I> and waits for -it to terminate. The system's one time tasks are done here. +<B>runit</B> runs <I>/etc/runit/1</I> and waits for it to terminate. +The system's one time tasks are done here. <H2><A NAME="sect4">Stage 2</A></H2> -<B>runit</B> runs -<I>/etc/runit/2</I>, which should not return until system shutdown; if it crashes, -it will be restarted. Normally <I>/etc/runit/2</I> starts <B><I>svscanboot</B>(8)</I>. <B>runit</B> is -able to handle the ctrl-alt-del keyboard request in Stage 2, see below. -<H2><A NAME="sect5">Stage -3</A></H2> -If <B>runit</B> is told to shutdown the system, or the Stage 2 returns without -errors, it terminates Stage 2 if it is running, and runs <I>/etc/runit/3</I>. The -systems tasks to shutdown and halt or reboot are done here. Normally in -Stage 3 <I>/etc/runit/3</I> checks for the file <I>/etc/runit/reboot</I>. If it exists, -the system is rebooted, it is halted otherwise. +<B>runit</B> runs <I>/etc/runit/2</I>, +which should not return until system shutdown; if it crashes, it will be +restarted. Normally <I>/etc/runit/2</I> starts <B><I>svscanboot</B>(8)</I>. <B>runit</B> is able to handle +the ctrl-alt-del keyboard request in Stage 2, see below. +<H2><A NAME="sect5">Stage 3</A></H2> +If <B>runit</B> is +told to shutdown the system, or the Stage 2 returns without errors, it +terminates Stage 2 if it is running, and runs <I>/etc/runit/3</I>. The systems +tasks to shutdown and halt or reboot are done here. Normally in Stage 3 +<I>/etc/runit/3</I> checks for the file <I>/etc/runit/reboot</I>. If it exists, the system +is rebooted, it is halted otherwise. <H2><A NAME="sect6">Ctrl-alt-del</A></H2> -If <B>runit</B> receives -the ctrl-alt-del keyboard request and the file <I>/etc/runit/ctrlaltdel</I> exists, -<B>runit</B> runs <I>/etc/runit/ctrlaltdel</I>, waits for it to terminate and then sends -itself a CONT signal. +If <B>runit</B> receives the ctrl-alt-del +keyboard request and the file <I>/etc/runit/ctrlaltdel</I> exists, <B>runit</B> runs +<I>/etc/runit/ctrlaltdel</I>, waits for it to terminate and then sends itself +a CONT signal. <H2><A NAME="sect7">Signals</A></H2> <B>runit</B> only accepts signals in Stage 2. <P> -If <B>runit</B> -receives a CONT signal and the file <I>/etc/runit/stopit</I> exists, <B>runit</B> is -told to shutdown the system. <P> -if <B>runit</B> receives an INT signal, a ctrl-alt-del -keyboard request is triggered. +If <B>runit</B> receives +a CONT signal and the file <I>/etc/runit/stopit</I> exists, <B>runit</B> is told to shutdown +the system. <P> +if <B>runit</B> receives an INT signal, a ctrl-alt-del keyboard request +is triggered. <H2><A NAME="sect8">See Also</A></H2> <I>runit-init(8)</I> <P> - <I>http://smarden.org/runit/</I> - + <I>http://smarden.org/runit/</I> <H2><A NAME="sect9">Author</A></H2> -Gerrit Pape <pape@smarden.org> <P> +Gerrit +Pape <pape@smarden.org> <P> <HR><P> <A NAME="toc"><B>Table of Contents</B></A><P> |