aboutsummaryrefslogtreecommitdiff
path: root/man/openrc-shutdown.8
diff options
context:
space:
mode:
authorWilliam Hubbs <w.d.hubbs@gmail.com>2017-04-12 17:56:30 -0500
committerWilliam Hubbs <w.d.hubbs@gmail.com>2017-04-12 17:56:36 -0500
commit05738bfce120114037d4f02c67ec740813f94b89 (patch)
tree20e6670fb45dcb5bb8ad70d28a301dbd57ab2351 /man/openrc-shutdown.8
parent6f88ee4ec6f59e545346a7422facc3e5b6adac04 (diff)
init: add re-exec capability
This will allow the re-execution of the init process after upgrading OpenRC.
Diffstat (limited to 'man/openrc-shutdown.8')
-rw-r--r--man/openrc-shutdown.87
1 files changed, 6 insertions, 1 deletions
diff --git a/man/openrc-shutdown.8 b/man/openrc-shutdown.8
index 98ec64a6..eae16ae8 100644
--- a/man/openrc-shutdown.8
+++ b/man/openrc-shutdown.8
@@ -19,11 +19,13 @@
.Op Fl H , -halt
.Op Fl k , -kexec
.Op Fl p , -poweroff
+.Op Fl R , -reexec
.Op Fl r , -reboot
.Sh DESCRIPTION
.Nm
is the utility that communicates with openrc-init(8) to bring down the
-system. The following options affect how the system is brought down:
+system or instruct openrc-init to re-execute itself. It supports the
+following options:
.Bl -tag -width "poweroff"
.It Fl H , -halt
Stop all services, kill all remaining processes and halt the system.
@@ -32,6 +34,9 @@ Stop all services, kill all processes and boot directly into a new
kernel loaded via kexec(8).
.It Fl p , -poweroff
Stop all services, kill all processes and power off the system.
+.It Fl R , -reexec
+instruct openrc-init to re-exec itself. This should be used after an
+upgrade of OpenRC if you are using openrc-init as your init process.
.It Fl r , -reboot
Stop all services, kill all processes and reboot the system.
.El