diff options
author | Gerrit Pape <pape@smarden.org> | 2003-09-23 08:13:27 +0000 |
---|---|---|
committer | Gerrit Pape <pape@smarden.org> | 2003-09-23 08:13:27 +0000 |
commit | 601c68e000e9f17e48b40d5aae52acff397c1b16 (patch) | |
tree | d1d3971612b5a19dbff24fb10bd86b7cb7c51b5e /doc/runit-init.8.html | |
parent | ecb49a81572f39731df4e7bcbc1dd071e6592547 (diff) | |
download | runit-601c68e000e9f17e48b40d5aae52acff397c1b16.tar.gz runit-601c68e000e9f17e48b40d5aae52acff397c1b16.tar.xz runit-601c68e000e9f17e48b40d5aae52acff397c1b16.zip |
html.
Diffstat (limited to 'doc/runit-init.8.html')
-rw-r--r-- | doc/runit-init.8.html | 109 |
1 files changed, 55 insertions, 54 deletions
diff --git a/doc/runit-init.8.html b/doc/runit-init.8.html index 4ae1afa..14d03f3 100644 --- a/doc/runit-init.8.html +++ b/doc/runit-init.8.html @@ -1,59 +1,60 @@ -<HTML> -<HEAD> -<TITLE>runit-init(8) manual page</TITLE> -</HEAD> -<BODY bgcolor=white> -<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> +<html> +<head> +<title>runit-init(8) manual page</title> +</head> +<body bgcolor='white'> +<a href='#toc'>Table of Contents</a><p> + +<h2><a name='sect0' href='#toc0'>Name</a></h2> init - a 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>tells the Unix process no 1 to shutdown and halt the system. To signal -<B><I>runit</B>(8)</I> the system halt request, <B>runit-init</B> removes all permissions of -the file <I>/etc/runit/reboot</I> (chmod 0), and sets the execute by owner permission -of the file <I>/etc/runit/stopit</I> (chmod 100). Then a CONT signal is sent to -<B><I>runit</B>(8)</I>. </DD> - -<DT><B>init 6</B> </DT> -<DD>tells the Unix process no 1 to shutdown and reboot the -system. To signal <B><I>runit</B>(8)</I> the system reboot request, <B>runit-init</B> sets the -execute by owner permission of the files <I>/etc/runit/reboot</I> and <I>/etc/runit/stopit</I> -(chmod 100). Then a CONT signal is sent to <B><I>runit</B>(8)</I>. </DD> -</DL> - -<H2><A NAME="sect3">Exit Codes</A></H2> -<B>runit-init</B> +<h2><a name='sect1' href='#toc1'>Synopsis</a></h2> +<b>init</b> [ 0 | 6 ] +<h2><a name='sect2' href='#toc2'>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 <i><b>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>tells the Unix process no 1 to shutdown and halt the system. To signal +<i><b>runit</b>(8)</i> the system halt request, <b>runit-init</b> removes all permissions of +the file <i>/etc/runit/reboot</i> (chmod 0), and sets the execute by owner permission +of the file <i>/etc/runit/stopit</i> (chmod 100). Then a CONT signal is sent to +<i><b>runit</b>(8)</i>. </dd> + +<dt><b>init 6</b> </dt> +<dd>tells the Unix process no 1 to shutdown and reboot the +system. To signal <i><b>runit</b>(8)</i> the system reboot request, <b>runit-init</b> sets the +execute by owner permission of the files <i>/etc/runit/reboot</i> and <i>/etc/runit/stopit</i> +(chmod 100). Then a CONT signal is sent to <i><b>runit</b>(8)</i>. </dd> +</dl> + +<h2><a name='sect3' href='#toc3'>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>runsv(8)</I>, -<I>runsvctrl(8)</I>, <I>runsvstat(8)</I>, <I>runsvdir(8)</I>, <I>runsvchdir(8)</I>, <I>svlogd(8)</I>, <I>utmpset(8)</I> -<P> -<I>http://smarden.org/runit/</I> -<H2><A NAME="sect5">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">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> +<h2><a name='sect4' href='#toc4'>See Also</a></h2> +<i>runit(8)</i>, <i>runsv(8)</i>, +<i>runsvctrl(8)</i>, <i>runsvstat(8)</i>, <i>runsvdir(8)</i>, <i>runsvchdir(8)</i>, <i>svlogd(8)</i>, <i>utmpset(8)</i> +<p> +<i>http://smarden.org/runit/</i> +<h2><a name='sect5' href='#toc5'>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'>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> |