diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2022-09-15 15:54:18 +0200 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2023-05-23 12:39:16 +0200 |
commit | 4e66876dfc9ab1b9b7063988d7f3689568c76cfe (patch) | |
tree | 4e2d33bf9e46a956bc5635f140aacdec5592d2b2 /units/systemd-journal-catalog-update.service | |
parent | update TODO (diff) | |
download | systemd-4e66876dfc9ab1b9b7063988d7f3689568c76cfe.tar.xz systemd-4e66876dfc9ab1b9b7063988d7f3689568c76cfe.zip |
units: do more reordering of ordering config
No functional change, just a cleanup to make the subsequent changes easier to
see. This is a continuation of 9810e419425263bde86787bc21251f1ad3c35628
> The block is reordered and split to have:
> 1. description + documentation
> 2. (optionally) conditions
> 3. all the dependencies
The dependencies for shutdown.target are listed separately because they are the
other deps are for startup, and shutdown.target only matter much later.
Diffstat (limited to 'units/systemd-journal-catalog-update.service')
-rw-r--r-- | units/systemd-journal-catalog-update.service | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/units/systemd-journal-catalog-update.service b/units/systemd-journal-catalog-update.service index 477925685a..691e03fe62 100644 --- a/units/systemd-journal-catalog-update.service +++ b/units/systemd-journal-catalog-update.service @@ -10,11 +10,14 @@ [Unit] Description=Rebuild Journal Catalog Documentation=man:systemd-journald.service(8) man:journald.conf(5) + +ConditionNeedsUpdate=/var + DefaultDependencies=no -Conflicts=shutdown.target After=local-fs.target systemd-tmpfiles-setup.service -Before=sysinit.target shutdown.target systemd-update-done.service -ConditionNeedsUpdate=/var +Before=sysinit.target systemd-update-done.service +Conflicts=shutdown.target +Before=shutdown.target [Service] Type=oneshot |