Skip to content

Commit

Permalink
man/soft-reboot: order surviving services before shutdown.target
Browse files Browse the repository at this point in the history
Prompted by #32895

Rather than ordering with each power operation targets,
ordering against shutdown.target which is a valid
synchronization point. This has no effect if soft-reboot
is being performed.
  • Loading branch information
YHNdnzj authored and keszybz committed May 17, 2024
1 parent 759e8fe commit 3acc318
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion man/systemd-soft-reboot.service.xml
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ IgnoreOnIsolate=yes
DefaultDependencies=no
After=basic.target
Conflicts=reboot.target kexec.target poweroff.target halt.target rescue.target emergency.target
Before=reboot.target kexec.target poweroff.target halt.target rescue.target emergency.target
Before=shutdown.target rescue.target emergency.target

[Service]
Type=oneshot
Expand Down

0 comments on commit 3acc318

Please sign in to comment.