Skip to content

Commit 73c729d

Browse files
poetteringmartinpitt
authored andcommitted
units: fix condition for systemd-journal-catalog-update.service (systemd#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.
1 parent 6195285 commit 73c729d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

units/systemd-journal-catalog-update.service.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ DefaultDependencies=no
1212
Conflicts=shutdown.target
1313
After=local-fs.target
1414
Before=sysinit.target shutdown.target systemd-update-done.service
15-
ConditionNeedsUpdate=/etc
15+
ConditionNeedsUpdate=/var
1616

1717
[Service]
1818
Type=oneshot

0 commit comments

Comments
 (0)