units: use SuccessAction=reboot where appropriate (#8335)

We should really use our own native concepts for rebooting.
This commit is contained in:
Lennart Poettering 2018-03-02 15:41:36 +01:00 committed by GitHub
parent 650f401123
commit 7ddcdb6072
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -32,4 +32,4 @@ ConditionPathIsSymbolicLink=|/system-update
[Service]
Type=oneshot
ExecStart=/bin/rm -fv /system-update
ExecStart=@SYSTEMCTL@ reboot
SuccessAction=reboot