summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2016-12-29 10:38:52 +0100
committerMartin Pitt <martin.pitt@ubuntu.com>2016-12-29 10:38:52 +0100
commit73c729d76871a64840a4d89fc61a5a64cc96e596 (patch)
tree13b23aa77cbb740bc0601728b3289a36ce6296ab
parent6195285612338f49e9c1bae304324214a0fd5808 (diff)
downloadsystemd-73c729d76871a64840a4d89fc61a5a64cc96e596.tar.gz
units: fix condition for systemd-journal-catalog-update.service (#4990)
The service is supposed to regenerate the catalog index whenever /usr is updated, but /var is not. Hence the ConditionNeedsUpdate= line should actually reference /var, as that's where the index file is located.
-rw-r--r--units/systemd-journal-catalog-update.service.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/units/systemd-journal-catalog-update.service.in b/units/systemd-journal-catalog-update.service.in
index 6370dd478f..276f052b1a 100644
--- a/units/systemd-journal-catalog-update.service.in
+++ b/units/systemd-journal-catalog-update.service.in
@@ -12,7 +12,7 @@ DefaultDependencies=no
Conflicts=shutdown.target
After=local-fs.target
Before=sysinit.target shutdown.target systemd-update-done.service
-ConditionNeedsUpdate=/etc
+ConditionNeedsUpdate=/var
[Service]
Type=oneshot