runit

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

commit 0e79d2a6554d1881f5f74576923ce12cfa54ed00
parent b968f7a072d0246867ae3ecc035e899dbfeda62c
Author: Gerrit Pape <pape@smarden.org>
Date:   Sun, 23 Dec 2001 00:02:51 +0000

minor.

Diffstat:
Mdoc/runit.8.html | 58+++++++++++++++++++++++++++++-----------------------------
Mman/runit.8 | 2+-
2 files changed, 30 insertions(+), 30 deletions(-)

diff --git 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 &lt;pape@smarden.org&gt; <P> +Gerrit +Pape &lt;pape@smarden.org&gt; <P> <HR><P> <A NAME="toc"><B>Table of Contents</B></A><P> diff --git a/man/runit.8 b/man/runit.8 @@ -1,6 +1,6 @@ .TH runit 8 .SH NAME -runit \- the UNIX process no 1 +runit \- a UNIX process no 1 .SH SYNOPSIS .B runit .SH DESCRIPTION