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 a new issue