summaryrefslogtreecommitdiff
path: root/units/system-update-cleanup.service
diff options
context:
space:
mode:
Diffstat (limited to 'units/system-update-cleanup.service')
-rw-r--r--units/system-update-cleanup.service4
1 files changed, 3 insertions, 1 deletions
diff --git a/units/system-update-cleanup.service b/units/system-update-cleanup.service
index 5a5dd725a1..a54e74567e 100644
--- a/units/system-update-cleanup.service
+++ b/units/system-update-cleanup.service
@@ -29,7 +29,9 @@ SuccessAction=reboot
# reboot or some other action on its own.
ConditionPathExists=|/system-update
ConditionPathIsSymbolicLink=|/system-update
+ConditionPathExists=|/etc/system-update
+ConditionPathIsSymbolicLink=|/etc/system-update
[Service]
Type=oneshot
-ExecStart=rm -fv /system-update
+ExecStart=rm -fv /system-update /etc/system-update