runit

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

commit a0887f9a499461e23993b7ce754535a1f0fb68da
parent cc01ab99e28c3013ef69999091e99c0456408915
Author: Gerrit Pape <pape@smarden.org>
Date:   Fri, 16 Nov 2001 13:57:46 +0000

manpages html.

Diffstat:
A.manpages | 0
Adoc/runit-halt.8.html | 41+++++++++++++++++++++++++++++++++++++++++
Adoc/runit-init.8.html | 51+++++++++++++++++++++++++++++++++++++++++++++++++++
Adoc/runit-reboot.8.html | 41+++++++++++++++++++++++++++++++++++++++++
Adoc/runit.8.html | 64++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
5 files changed, 197 insertions(+), 0 deletions(-)

diff --git a/.manpages b/.manpages diff --git a/doc/runit-halt.8.html b/doc/runit-halt.8.html @@ -0,0 +1,41 @@ + + + +<HTML> +<HEAD> +<TITLE>runit-halt(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-halt - stop the system +<H2><A NAME="sect1">Synopsis</A></H2> +<B>init</B> 0 <BR> +<B>runit-halt</B> +<H2><A NAME="sect2">Description</A></H2> +<B>runit-halt</B> causes the Unix process no 1 <B><I>runit</B>(8)</I> to +halt the system. Normally <B>runit-halt</B> is run by <B><I>runit-init</B>(8)</I> if called as +<B>init 0.</B> <P> +To signal <B><I>runit</B>(8)</I> the system halt request, <B>runit-halt</B> removes the +/etc/runit/reboot file and touches /etc/runit/stopit. Then a CONT signal +is sent to <B><I>runit</B>(8)</I>. +<H2><A NAME="sect3">Exit Codes</A></H2> +<B>runit-halt</B> always returns 0. +<H2><A NAME="sect4">See Also</A></H2> +<I>runit-init(8)</I>, +<I>runit(8)</I>, <I>runit-reboot(8)</I> +<H2><A NAME="sect5">Author</A></H2> +Gerrit Pape &lt;pape@smarden.org&gt; <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">Exit Codes</A></LI> +<LI><A NAME="toc4" HREF="#sect4">See Also</A></LI> +<LI><A NAME="toc5" HREF="#sect5">Author</A></LI> +</UL> +</BODY></HTML> diff --git a/doc/runit-init.8.html b/doc/runit-init.8.html @@ -0,0 +1,51 @@ + + + +<HTML> +<HEAD> +<TITLE>runit-init(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> +init - the UNIX process no 1 +<H2><A NAME="sect1">Synopsis</A></H2> +<B>init</B> [ 0 | 6 ] +<H2><A NAME="sect2">Description</A></H2> +<B>runit-init</B> +is the first process the kernel starts. If <B>runit-init</B> is started as process +no 1, it runs and replaces itself with <B><I>runit</B>(8)</I>. <P> +If <B>runit-init</B> is started +while the system is up, it must be either called as <B>init 0</B> or <B>init 6:</B> +<DL> + +<DT><B>init +0</B> </DT> +<DD>run <B><I>runit-halt</B>(8)</I> to halt the system. </DD> + +<DT><B>init 6</B> </DT> +<DD>run <B><I>runit-reboot</B>(8)</I> to reboot +the system. </DD> +</DL> + +<H2><A NAME="sect3">Exit Codes</A></H2> +<B>runit-init</B> returns 111 on error, 0 in all other cases. + +<H2><A NAME="sect4">See Also</A></H2> +<I>runit(8)</I>, <I>runit-halt(8)</I>, <I>runit-reboot(8)</I> +<H2><A NAME="sect5">Author</A></H2> +Gerrit Pape &lt;pape@smarden.org&gt; +<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">Exit Codes</A></LI> +<LI><A NAME="toc4" HREF="#sect4">See Also</A></LI> +<LI><A NAME="toc5" HREF="#sect5">Author</A></LI> +</UL> +</BODY></HTML> diff --git a/doc/runit-reboot.8.html b/doc/runit-reboot.8.html @@ -0,0 +1,41 @@ + + + +<HTML> +<HEAD> +<TITLE>runit-reboot(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-reboot - reboot the system +<H2><A NAME="sect1">Synopsis</A></H2> +<B>init</B> 6 <BR> +<B>runit-reboot</B> +<H2><A NAME="sect2">Description</A></H2> +<B>runit-reboot</B> causes the Unix process no 1 <B><I>runit</B>(8)</I> +to reboot the system. Normally <B>runit-reboot</B> is run by <B><I>runit-init</B>(8)</I> if called +as <B>init 6.</B> <P> +To signal <B><I>runit</B>(8)</I> the system reboot request, <B>runit-reboot</B> touches +the /etc/runit/reboot and /etc/runit/stopit files. Then a CONT signal is +sent to <B><I>runit</B>(8)</I>. +<H2><A NAME="sect3">Exit Codes</A></H2> +<B>runit-reboot</B> always returns 0. +<H2><A NAME="sect4">See Also</A></H2> +<I>runit-init(8)</I>, +<I>runit(8)</I>, <I>runit-halt(8)</I> +<H2><A NAME="sect5">Author</A></H2> +Gerrit Pape &lt;pape@smarden.org&gt; <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">Exit Codes</A></LI> +<LI><A NAME="toc4" HREF="#sect4">See Also</A></LI> +<LI><A NAME="toc5" HREF="#sect5">Author</A></LI> +</UL> +</BODY></HTML> diff --git a/doc/runit.8.html 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 &lt;pape@smarden.org&gt; <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>