openrc-shutdown - bring the system down


openrc-shutdown(8) System Manager’s Manual openrc-shutdown(8)

NAME

openrc-shutdown — bring the system down

SYNOPSIS

openrc-shutdown [−c−-cancel]
openrc-shutdown
[−R−-reexec]
openrc-shutdown
[−w−-write-only]
openrc-shutdown
[−d−-no-write] [−D−-dry-run] [−H−-halt] time
openrc-shutdown
[−d−-no-write] [−D−-dry-run] [−k−-kexec] time
openrc-shutdown
[−d−-no-write] [−D−-dry-run] [−p−-poweroff] time
openrc-shutdown
[−d−-no-write] [−D−-dry-run] [−r−-reboot] time
openrc-shutdown
[−d−-no-write] [−D−-dry-run] [−s−-single] time

DESCRIPTION

openrc-shutdown is the utility that communicates with openrc-init(8) to bring down the system or instruct openrc-init to re-execute itself. It supports the following options:

−c, −-cancel

Cancel a pending shutdown.

−d, −-no-write

Do not write the wtmp boot record.

−D, −-dry-run

Print the action that would be taken without executing it. This is to allow testing.

−H, −-halt

Stop all services, kill all remaining processes and halt the system.

−k, −-kexec

Stop all services, kill all processes and boot directly into a new kernel loaded via kexec(8).

−p, −-poweroff

Stop all services, kill all processes and power off the system.

−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.

−r, −-reboot

Stop all services, kill all processes and reboot the system.

−s, −-single

Stop all services, kill all processes and move to single user mode.

−w, −-write-only

Write a wtmp shutdown record and do nothing else.

SEE ALSO

openrc-init(8), kexec(8),

AUTHORS

William Hubbs <[email protected]> OpenRC May 22, 2017 openrc-shutdown(8)


Updated 2024-01-29 - jenkler.se | uex.se