summaryrefslogtreecommitdiff
path: root/units/systemd-update-done.service.in
diff options
context:
space:
mode:
Diffstat (limited to 'units/systemd-update-done.service.in')
-rw-r--r--units/systemd-update-done.service.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/units/systemd-update-done.service.in b/units/systemd-update-done.service.in
index dccb5137d2..1a907f9637 100644
--- a/units/systemd-update-done.service.in
+++ b/units/systemd-update-done.service.in
@@ -14,6 +14,8 @@ After=systemd-readahead-collect.service systemd-readahead-replay.service local-f
Before=sysinit.target shutdown.target
RefuseManualStart=yes
RefuseManualStop=yes
+ConditionNeedsUpdate=|/etc
+ConditionNeedsUpdate=|/var
[Service]
Type=oneshot