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.
This commit is contained in:
Lennart Poettering 2016-12-29 10:38:52 +01:00 committed by Martin Pitt
parent 6195285612
commit 73c729d768
1 changed files with 1 additions and 1 deletions

View File

@ -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