summaryrefslogtreecommitdiff
path: root/units
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2018-03-02 15:41:36 +0100
committerGitHub <noreply@github.com>2018-03-02 15:41:36 +0100
commit7ddcdb6072745fe96dee4df08f5f874c057069e4 (patch)
treed324e6dbc4c1bca94b00ec6c2c19adf1014c4820 /units
parent650f40112331171ba37287069879afdbe5f35c3c (diff)
downloadsystemd-7ddcdb6072745fe96dee4df08f5f874c057069e4.tar.gz
units: use SuccessAction=reboot where appropriate (#8335)
We should really use our own native concepts for rebooting.
Diffstat (limited to 'units')
-rw-r--r--units/system-update-cleanup.service.in2
1 files changed, 1 insertions, 1 deletions
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