]> git.ipfire.org Git - thirdparty/systemd.git/commit
docs: add a note about selectively overriding default dependencies
authorLuca BRUNO <luca.bruno@coreos.com>
Mon, 19 Sep 2022 10:09:17 +0000 (10:09 +0000)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 20 Sep 2022 11:57:26 +0000 (13:57 +0200)
commit72ceee435d9d585115bd89f8aca4883d240cd387
treee6ac541ee3362996fc73f8297409d167974c3830
parent55b5daf9b2b7e0c8b77de4f87986832447e72b84
docs: add a note about selectively overriding default dependencies

This documents that explicit `Before=`/`After=` dependencies can be
used to selectively override implicit ordering coming from default
dependencies. That allows for more granular control compared to the
already documented `DefaultDependencies=no` option.

The alternative approach came up in a discussion around the ordering
of `boot-complete.target`, so this also adds an explicit suggestion
in that direction to the "Automatic Boot Assessment" documentation.

Ref: https://lists.freedesktop.org/archives/systemd-devel/2022-September/048330.html
docs/AUTOMATIC_BOOT_ASSESSMENT.md
man/systemd.unit.xml