summaryrefslogtreecommitdiffstats
path: root/man/systemd-soft-reboot.service.xml
diff options
context:
space:
mode:
authorLuca Boccassi <bluca@debian.org>2023-10-19 14:58:03 +0200
committerLuca Boccassi <bluca@debian.org>2023-10-20 12:45:37 +0200
commit665a3d6d15c09428debcabd46e8a2e27afc51a46 (patch)
tree7fdccbd221cba5c7ff3b5be87161897012119c0f /man/systemd-soft-reboot.service.xml
parentman: mention that inhibit blocks soft-reboot too (diff)
downloadsystemd-665a3d6d15c09428debcabd46e8a2e27afc51a46.tar.xz
systemd-665a3d6d15c09428debcabd46e8a2e27afc51a46.zip
systemctl: automatically softreboot/kexec if set up on reboot
Automatically softreboot if the nextroot has been set up with an OS tree, or automatically kexec if a kernel has been loaded with kexec --load. Add SYSTEMCTL_SKIP_AUTO_KEXEC and SYSTEMCTL_SKIP_AUTO_SOFT_REBOOT to skip the automated switchover.
Diffstat (limited to 'man/systemd-soft-reboot.service.xml')
-rw-r--r--man/systemd-soft-reboot.service.xml4
1 files changed, 4 insertions, 0 deletions
diff --git a/man/systemd-soft-reboot.service.xml b/man/systemd-soft-reboot.service.xml
index 1de2fbc5f3..2419b86604 100644
--- a/man/systemd-soft-reboot.service.xml
+++ b/man/systemd-soft-reboot.service.xml
@@ -164,6 +164,10 @@ ExecStart=sleep infinity
<para>Note that <filename>systemd-soft-reboot.service</filename> (and related units) should never be
executed directly. Instead, trigger system shutdown with a command such as <literal>systemctl
soft-reboot</literal>.</para>
+
+ <para>Note that if a new root file system has been setup on <literal>/run/nextroot</literal>, a
+ <command>soft-reboot</command> will be performed when the <command>reboot</command> command is
+ invoked.</para>
</refsect1>
<refsect1>