mirror of
https://github.com/systemd/systemd.git
synced 2025-01-09 01:18:19 +03:00
units: use SuccessAction=reboot where appropriate (#8335)
We should really use our own native concepts for rebooting.
This commit is contained in:
parent
650f401123
commit
7ddcdb6072
@ -32,4 +32,4 @@ ConditionPathIsSymbolicLink=|/system-update
|
|||||||
[Service]
|
[Service]
|
||||||
Type=oneshot
|
Type=oneshot
|
||||||
ExecStart=/bin/rm -fv /system-update
|
ExecStart=/bin/rm -fv /system-update
|
||||||
ExecStart=@SYSTEMCTL@ reboot
|
SuccessAction=reboot
|
||||||
|
Loading…
Reference in New Issue
Block a user