From 05738bfce120114037d4f02c67ec740813f94b89 Mon Sep 17 00:00:00 2001 From: William Hubbs Date: Wed, 12 Apr 2017 17:56:30 -0500 Subject: init: add re-exec capability This will allow the re-execution of the init process after upgrading OpenRC. --- man/openrc-shutdown.8 | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'man') 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 -- cgit v1.2.3