diff options
author | Gerrit Pape <pape@smarden.org> | 2001-11-26 11:31:53 +0000 |
---|---|---|
committer | Gerrit Pape <pape@smarden.org> | 2001-11-26 11:31:53 +0000 |
commit | f849568f4ccdcce45225fa1df2821c4aef607e3d (patch) | |
tree | 11f9ba313b1efac555ea315640ca8710e3a9f31f /man | |
parent | f71b40212367b464a882d7a1ef4c5e1f68cd87f1 (diff) | |
download | runit-f849568f4ccdcce45225fa1df2821c4aef607e3d.tar.gz runit-f849568f4ccdcce45225fa1df2821c4aef607e3d.tar.xz runit-f849568f4ccdcce45225fa1df2821c4aef607e3d.zip |
* runit-halt, runit-reboot removed, integrated into runit-init
* tested with dietlibc * doc: usedietlibs.html added.
Diffstat (limited to 'man')
-rw-r--r-- | man/runit-halt.8 | 35 | ||||
-rw-r--r-- | man/runit-init.8 | 28 | ||||
-rw-r--r-- | man/runit-reboot.8 | 35 | ||||
-rw-r--r-- | man/runit.8 | 8 |
4 files changed, 23 insertions, 83 deletions
diff --git a/man/runit-halt.8 b/man/runit-halt.8 deleted file mode 100644 index b99acf6..0000000 --- a/man/runit-halt.8 +++ /dev/null @@ -1,35 +0,0 @@ -.TH runit-halt 8 -.SH NAME -runit-halt \- stop the system -.SH SYNOPSIS -.B init -0 -.br -.B runit-halt -.SH DESCRIPTION -.B runit-halt -causes the Unix process no 1 -.BR runit (8) -to halt the system. Normally -.B runit-halt -is run by -.BR runit-init (8) -if called as -.B init 0\fR. -.P -To signal -.BR runit (8) -the system halt request, -.B runit-halt -removes the /etc/runit/reboot file and touches /etc/runit/stopit. Then a CONT -signal is sent to -.BR runit (8). -.SH EXIT CODES -.B runit-halt -always returns 0. -.SH SEE ALSO -runit-init(8), -runit(8), -runit-reboot(8) -.SH AUTHOR -Gerrit Pape <pape@smarden.org> diff --git a/man/runit-init.8 b/man/runit-init.8 index dd8ffe6..f53d67d 100644 --- a/man/runit-init.8 +++ b/man/runit-init.8 @@ -19,20 +19,30 @@ or .B init 6\fR: .TP .B init 0 -run -.BR runit-halt (8) -to halt the system. +tells the Unix process no 1 to shutdown and halt the system. To signal +.BR runit (8) +the system halt request, the +.I /etc/runit/reboot +file is removed and +.I /etc/runit/stopit +is touched. Then a CONT signal is sent to +.BR runit (8). .TP .B init 6 -run -.BR runit-reboot (8) -to reboot the system. +tells the Unix process no 1 to shutdown and reboot the system. To signal +.BR runit (8) +the system reboot request, the +.I /etc/runit/reboot +and +.I /etc/runit/stopit +files are touched. Then a CONT signal is sent to +.BR runit (8). .SH EXIT CODES .B runit-init returns 111 on error, 0 in all other cases. .SH SEE ALSO -runit(8), -runit-halt(8), -runit-reboot(8) +runit(8) + +http://smarden.org/pape/runit/ .SH AUTHOR Gerrit Pape <pape@smarden.org> diff --git a/man/runit-reboot.8 b/man/runit-reboot.8 deleted file mode 100644 index d5ce1ea..0000000 --- a/man/runit-reboot.8 +++ /dev/null @@ -1,35 +0,0 @@ -.TH runit-reboot 8 -.SH NAME -runit-reboot \- reboot the system -.SH SYNOPSIS -.B init -6 -.br -.B runit-reboot -.SH DESCRIPTION -.B runit-reboot -causes the Unix process no 1 -.BR runit (8) -to reboot the system. Normally -.B runit-reboot -is run by -.BR runit-init (8) -if called as -.B init 6\fR. -.P -To signal -.BR runit (8) -the system reboot request, -.B runit-reboot -touches the /etc/runit/reboot and /etc/runit/stopit files. Then a CONT -signal is sent to -.BR runit (8). -.SH EXIT CODES -.B runit-reboot -always returns 0. -.SH SEE ALSO -runit-init(8), -runit(8), -runit-halt(8) -.SH AUTHOR -Gerrit Pape <pape@smarden.org> diff --git a/man/runit.8 b/man/runit.8 index 4144ca2..7feb018 100644 --- a/man/runit.8 +++ b/man/runit.8 @@ -44,7 +44,7 @@ exists, .B runit runs .IR /etc/runit/ctrlaltdel , -waits for it to terminate and then enters Stage 3 for system shutdown. +waits for it to terminate and then sends itself a CONT signal. .SH SIGNALS .B runit only accepts signals in Stage 2. @@ -61,8 +61,8 @@ if .B runit receives an INT signal, a ctrl-alt-del keyboard request is triggered. .SH SEE ALSO -init(8), -runit-halt(8), -runit-reboot(8) +runit-init(8) + +http://smarden.org/pape/runit/ .SH AUTHOR Gerrit Pape <pape@smarden.org> |