aboutsummaryrefslogtreecommitdiff
path: root/man/openrc-shutdown.8
diff options
context:
space:
mode:
authorWilliam Hubbs <w.d.hubbs@gmail.com>2017-04-06 17:13:59 -0500
committerWilliam Hubbs <w.d.hubbs@gmail.com>2017-04-06 17:13:59 -0500
commit13ca79856e5836117e469c3edbcfd4bf47b6bab0 (patch)
treed29b308bcdb67a671c5e17313f9a47971dee4f5f /man/openrc-shutdown.8
parent79a9edc73068244ad843f2edbe4206ce696c91c8 (diff)
add init process
openrc-init.c and openrc-shutdown.c are based on code which was written by James Hammons <jlhamm@acm.org>, so I would like to publically thank him for his work.
Diffstat (limited to 'man/openrc-shutdown.8')
-rw-r--r--man/openrc-shutdown.842
1 files changed, 42 insertions, 0 deletions
diff --git a/man/openrc-shutdown.8 b/man/openrc-shutdown.8
new file mode 100644
index 00000000..98ec64a6
--- /dev/null
+++ b/man/openrc-shutdown.8
@@ -0,0 +1,42 @@
+.\" Copyright (c) 2017 The OpenRC Authors.
+.\" See the Authors file at the top-level directory of this distribution and
+.\" https://github.com/OpenRC/openrc/blob/master/AUTHORS
+.\"
+.\" This file is part of OpenRC. It is subject to the license terms in
+.\" the LICENSE file found in the top-level directory of this
+.\" distribution and at https://github.com/OpenRC/openrc/blob/master/LICENSE
+.\" This file may not be copied, modified, propagated, or distributed
+.\" except according to the terms contained in the LICENSE file.
+.\"
+.Dd April 6, 2017
+.Dt openrc-shutdown 8 SMM
+.Os OpenRC
+.Sh NAME
+.Nm openrc-shutdown
+.Nd bring the system down
+.Sh SYNOPSIS
+.Nm
+.Op Fl H , -halt
+.Op Fl k , -kexec
+.Op Fl p , -poweroff
+.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:
+.Bl -tag -width "poweroff"
+.It Fl H , -halt
+Stop all services, kill all remaining processes and halt the system.
+.It Fl k , -kexec
+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 , -reboot
+Stop all services, kill all processes and reboot the system.
+.El
+.Sh SEE ALSO
+.Xr openrc-init 8 ,
+.Xr kexec 8 ,
+.Sh AUTHORS
+.An William Hubbs <w.d.hubbs@gmail.com>