]> git.ipfire.org Git - thirdparty/systemd.git/commit - units/systemd-tmpfiles-clean.service
units: reorder/split unit dependency blocks
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 14 Sep 2022 11:39:10 +0000 (12:39 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 15 Sep 2022 12:59:11 +0000 (14:59 +0200)
commit9810e419425263bde86787bc21251f1ad3c35628
tree1ba29f7dd8a3e3014a992677688f995400408c7b
parentd01d9197f50667491eab287d1f0f1e62c85e1e50
units: reorder/split unit dependency blocks

The block is reordered and split to have:
  1. description + documentation
  2. (optionally) conditions
  3. all the dependencies
I think it's easier to read the units this way.
Also, the Conflicts+Before is seperated out to separate lines.
The ordering dependency is "fake", because it could just as well be
After=, we are adding it to force ordering wrt. shutdown.target, and
it plays a different role than the other Before=, which are about a
real ordering on boot.
13 files changed:
units/initrd-switch-root.service
units/ldconfig.service
units/sysinit.target
units/systemd-ask-password-console.path
units/systemd-ask-password-console.service
units/systemd-ask-password-wall.path
units/systemd-boot-system-token.service
units/systemd-network-generator.service.in
units/systemd-sysext.service
units/systemd-sysusers.service
units/systemd-tmpfiles-clean.service
units/systemd-tmpfiles-setup-dev.service
units/systemd-tmpfiles-setup.service