diff options
author | Gerrit Pape <pape@smarden.org> | 2001-11-16 13:57:46 +0000 |
---|---|---|
committer | Gerrit Pape <pape@smarden.org> | 2001-11-16 13:57:46 +0000 |
commit | 03f4bc70c8b699610e505d660baaa4070b6e4bb0 (patch) | |
tree | 7ed5dcb1a7d852a860e2b71358ab4a6cf0eee98a /doc/runit.8.html | |
parent | 8a80e680054a56588d693349c2e0ed220813a13f (diff) | |
download | runit-03f4bc70c8b699610e505d660baaa4070b6e4bb0.tar.gz runit-03f4bc70c8b699610e505d660baaa4070b6e4bb0.tar.xz runit-03f4bc70c8b699610e505d660baaa4070b6e4bb0.zip |
manpages html.
Diffstat (limited to 'doc/runit.8.html')
-rw-r--r-- | doc/runit.8.html | 64 |
1 files changed, 64 insertions, 0 deletions
diff --git a/doc/runit.8.html b/doc/runit.8.html new file mode 100644 index 0000000..f201630 --- /dev/null +++ b/doc/runit.8.html @@ -0,0 +1,64 @@ + + + +<HTML> +<HEAD> +<TITLE>runit(8) manual page</TITLE> +</HEAD> +<BODY bgcolor=white> +<a href="http://innominate.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 +<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: +<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. +<H2><A NAME="sect4">Stage 2</A></H2> +<B>runit</B> runs <I>/etc/runit/2</I>, +which should not return until system shutdown. 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 halt or reboot 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. +<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 enters stage 3 for system shutdown. +<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> +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="sect8">See Also</A></H2> +<I>init(8)</I>, <I>runit-halt(8)</I>, +<I>runit-reboot(8)</I> +<H2><A NAME="sect9">Author</A></H2> +Gerrit Pape <pape@smarden.org> <P> + +<HR><P> +<A NAME="toc"><B>Table of Contents</B></A><P> +<UL> +<LI><A NAME="toc0" HREF="#sect0">Name</A></LI> +<LI><A NAME="toc1" HREF="#sect1">Synopsis</A></LI> +<LI><A NAME="toc2" HREF="#sect2">Description</A></LI> +<LI><A NAME="toc3" HREF="#sect3">Stage 1</A></LI> +<LI><A NAME="toc4" HREF="#sect4">Stage 2</A></LI> +<LI><A NAME="toc5" HREF="#sect5">Stage 3</A></LI> +<LI><A NAME="toc6" HREF="#sect6">Ctrl-alt-del</A></LI> +<LI><A NAME="toc7" HREF="#sect7">Signals</A></LI> +<LI><A NAME="toc8" HREF="#sect8">See Also</A></LI> +<LI><A NAME="toc9" HREF="#sect9">Author</A></LI> +</UL> +</BODY></HTML> |