openrc-shutdown(8) System Manager's Manual (smm) openrc-shutdown(8)

# [NAME](#NAME)

`openrc-shutdown` — bring the system down

# [SYNOPSIS](#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](#DESCRIPTION)

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

[`-c`](#c), `--cancel`

Cancel a pending shutdown.

[`-d`](#d), `--no-write`

Do not write the wtmp boot record.

[`-D`](#D), `--dry-run`

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

[`-H`](#H), `--halt`

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

[`-K`](#K), `--kexec`

Stop all services, kill all processes and boot directly into a new kernel loaded via [kexec(8)](/man/os/openrc/kexec.8).

[`-p`](#p), `--poweroff`

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

[`-R`](#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`](#r), `--reboot`

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

[`-s`](#s), `--single`

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

[`-w`](#w), `--write-only`

Write a wtmp shutdown record and do nothing else.

# [SEE ALSO](#SEE_ALSO)

[openrc-init(8)](/man/os/openrc/openrc-init.8), [kexec(8)](/man/os/openrc/kexec.8),

# [AUTHORS](#AUTHORS)

William Hubbs &lt;w.d.hubbs@gmail.com&gt;

May 22, 2017 OpenRC

---

Document: openrc-shutdown(8) from openrc 0.64.1-r1 (Chainguard OS)
Source: https://github.com/OpenRC/openrc
