From: Lennart Poettering Date: Thu, 29 Dec 2016 09:38:52 +0000 (+0100) Subject: units: fix condition for systemd-journal-catalog-update.service (#4990) X-Git-Tag: v234~683 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=73c729d76871a64840a4d89fc61a5a64cc96e596;p=platform%2Fupstream%2Fsystemd.git 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. --- diff --git a/units/systemd-journal-catalog-update.service.in b/units/systemd-journal-catalog-update.service.in index 6370dd4..276f052 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