diff options
author | Gerrit Pape <pape@smarden.org> | 2003-02-25 15:14:19 +0000 |
---|---|---|
committer | Gerrit Pape <pape@smarden.org> | 2003-02-25 15:14:19 +0000 |
commit | 517f1a056af9f348e4c1110dd6dc937ce14775e8 (patch) | |
tree | 807b266ac4db36c06e00f1f7265ed5ac22beb2db /man | |
parent | 46c72313f70925466cbebc0903beb04a55d2fd4d (diff) | |
download | runit-517f1a056af9f348e4c1110dd6dc937ce14775e8.tar.gz runit-517f1a056af9f348e4c1110dd6dc937ce14775e8.tar.xz runit-517f1a056af9f348e4c1110dd6dc937ce14775e8.zip |
adapt man pages.
Diffstat (limited to 'man')
-rw-r--r-- | man/runit-init.8 | 15 | ||||
-rw-r--r-- | man/runit.8 | 17 |
2 files changed, 19 insertions, 13 deletions
diff --git a/man/runit-init.8 b/man/runit-init.8 index 77b06e3..a66ea91 100644 --- a/man/runit-init.8 +++ b/man/runit-init.8 @@ -21,21 +21,26 @@ or .B init 0 tells the Unix process no 1 to shutdown and halt the system. To signal .BR runit (8) -the system halt request, the +the system halt request, +.B runit-init +removes all permissions of the file .I /etc/runit/reboot -file is removed and +(chmod 0), and sets the execute by owner permission of the file .I /etc/runit/stopit -is touched. Then a CONT signal is sent to +(chmod 100). +Then a CONT signal is sent to .BR runit (8). .TP .B init 6 tells the Unix process no 1 to shutdown and reboot the system. To signal .BR runit (8) -the system reboot request, the +the system reboot request, +.B runit-init +sets the execute by owner permission of the files .I /etc/runit/reboot and .I /etc/runit/stopit -files are touched. Then a CONT signal is sent to +(chmod 100). Then a CONT signal is sent to .BR runit (8). .SH EXIT CODES .B runit-init diff --git a/man/runit.8 b/man/runit.8 index 544502a..ff9ef27 100644 --- a/man/runit.8 +++ b/man/runit.8 @@ -39,21 +39,22 @@ is told to shutdown the system, or the Stage 2 returns without errors, it terminates Stage 2 if it is running, and runs .IR /etc/runit/3 . The systems tasks to shutdown and halt or reboot are done here. -Normally in Stage 3 -.I /etc/runit/3 -checks for the file -.IR /etc/runit/reboot . -If it exists, the system is rebooted, it is halted otherwise. +If Stage 3 returns, +.B runit +checks if the file +.I /etc/runit/reboot +exists and has the execute by owner permission set. +If so, the system is rebooted, it's halted otherwise. .SH CTRL-ALT-DEL If .B runit receives the ctrl-alt-del keyboard request and the file .I /etc/runit/ctrlaltdel -exists, +exists and has the execute by owner permission set, .B runit runs .IR /etc/runit/ctrlaltdel , -waits for it to terminate and then sends itself a CONT signal. +waits for it to terminate, and then sends itself a CONT signal. .SH SIGNALS .B runit only accepts signals in Stage 2. @@ -62,7 +63,7 @@ If .B runit receives a CONT signal and the file .I /etc/runit/stopit -exists, +exists and has the execute by owner permission set, .B runit is told to shutdown the system. .P |