]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
units: use SuccessAction=reboot where appropriate (#8335)
authorLennart Poettering <lennart@poettering.net>
Fri, 2 Mar 2018 14:41:36 +0000 (15:41 +0100)
committerGitHub <noreply@github.com>
Fri, 2 Mar 2018 14:41:36 +0000 (15:41 +0100)
We should really use our own native concepts for rebooting.

units/system-update-cleanup.service.in

index 51399f1c0790edffb158caf6ffa8173c3097ed80..84d16f608ef8c65dd02141f8d89376022e6f2035 100644 (file)
@@ -32,4 +32,4 @@ ConditionPathIsSymbolicLink=|/system-update
 [Service]
 Type=oneshot
 ExecStart=/bin/rm -fv /system-update
-ExecStart=@SYSTEMCTL@ reboot
+SuccessAction=reboot