summaryrefslogtreecommitdiff
path: root/units/systemd-journal-catalog-update.service.in
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 /units/systemd-journal-catalog-update.service.in
parent6195285612338f49e9c1bae304324214a0fd5808 (diff)
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.
Diffstat (limited to 'units/systemd-journal-catalog-update.service.in')
-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