]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
Revert "units: do not soft-reboot before soft-reboot.target reached"
authorYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 22 May 2024 14:53:13 +0000 (23:53 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 22 May 2024 15:06:30 +0000 (00:06 +0900)
This reverts commit 4263d7617f0e6ea741e227db223ac6085479165f.

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.

units/soft-reboot.target
units/systemd-soft-reboot.service

index 4bca192454d05d2e16ed8a14ee80107450fd9660..6a6c772875e85735bf15ea9e1feccdd1abca84ff 100644 (file)
 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
index da9f463821fb317f36e41e6b87347e3972c907c8..35ba3a9fc41269ed22696835f5136d41faf7825f 100644 (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