1
0
mirror of https://github.com/systemd/systemd synced 2024-07-01 07:34:28 +00:00

Revert "units: do not soft-reboot before soft-reboot.target reached"

This reverts commit 4263d7617f.

Still I think this is the way to go. But the change was merged after -rc2,
and still discussion is continued. So, at least now let's revert it,
and do that after v256-final is released if approved.
This commit is contained in:
Yu Watanabe 2024-05-22 23:53:13 +09:00
parent 87ed87efe1
commit 03a41c41ee
2 changed files with 3 additions and 4 deletions

View File

@ -11,10 +11,8 @@
Description=Reboot System Userspace
Documentation=man:systemd.special(7)
DefaultDependencies=no
Requires=shutdown.target umount.target final.target
After=shutdown.target umount.target final.target
Requires=systemd-soft-reboot.service
Before=systemd-soft-reboot.service
After=systemd-soft-reboot.service
AllowIsolate=yes
JobTimeoutSec=30min
JobTimeoutAction=soft-reboot-force

View File

@ -11,5 +11,6 @@
Description=Reboot System Userspace
Documentation=man:systemd-soft-reboot.service(8)
DefaultDependencies=no
Requires=soft-reboot.target
Requires=shutdown.target umount.target final.target
After=shutdown.target umount.target final.target
SuccessAction=soft-reboot-force