From 7ddcdb6072745fe96dee4df08f5f874c057069e4 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Fri, 2 Mar 2018 15:41:36 +0100 Subject: [PATCH] units: use SuccessAction=reboot where appropriate (#8335) We should really use our own native concepts for rebooting. --- units/system-update-cleanup.service.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/units/system-update-cleanup.service.in b/units/system-update-cleanup.service.in index 51399f1c07..84d16f608e 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