From: Lennart Poettering Date: Fri, 2 Mar 2018 14:41:36 +0000 (+0100) Subject: units: use SuccessAction=reboot where appropriate (#8335) X-Git-Tag: v238~13 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7ddcdb6072745fe96dee4df08f5f874c057069e4;p=thirdparty%2Fsystemd.git units: use SuccessAction=reboot where appropriate (#8335) We should really use our own native concepts for rebooting. --- diff --git a/units/system-update-cleanup.service.in b/units/system-update-cleanup.service.in index 51399f1c079..84d16f608ef 100644 --- a/units/system-update-cleanup.service.in +++ b/units/system-update-cleanup.service.in @@ -32,4 +32,4 @@ ConditionPathIsSymbolicLink=|/system-update [Service] Type=oneshot ExecStart=/bin/rm -fv /system-update -ExecStart=@SYSTEMCTL@ reboot +SuccessAction=reboot