LinuxCommandLibrary

systemctl-soft-reboot

Restart userspace without kernel reboot

TLDR

Soft reboot (userspace only)

$ systemctl soft-reboot
copy
Force soft reboot
$ systemctl soft-reboot -f
copy
Schedule soft reboot
$ systemctl soft-reboot --when "[timestamp]"
copy
Cancel scheduled soft reboot
$ systemctl soft-reboot --when cancel
copy

SYNOPSIS

systemctl soft-reboot [OPTIONS]

DESCRIPTION

systemctl soft-reboot shuts down and restarts userspace while keeping the kernel running. This is faster than a full reboot as it skips BIOS/firmware initialization and kernel boot.
The kernel continues running; only systemd and all user services are restarted. This is useful for quickly testing service configurations or applying updates that don't require a kernel change.

PARAMETERS

-f, --force

Force reboot even if inhibitors are present
--when TIMESTAMP
Schedule reboot at specified time or cancel

CAVEATS

Requires kernel support. Not suitable when kernel updates need to be applied. Some hardware state may persist inappropriately. Newer feature requiring recent systemd versions.

HISTORY

The soft-reboot subcommand was added in systemd 254 to support faster system restarts for scenarios where only userspace changes need to take effect.

SEE ALSO

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community