1
0
mirror of https://github.com/systemd/systemd.git synced 2024-12-22 17:35:35 +03:00

units: Order ldconfig.service after systemd-confext.service

The configuration files required by ldconfig could be put into
place by systemd-confext.service (ldconfig only looks in /etc) so
let's order the service after systemd-confext.service to make sure
any config files are in place before the service runs.
This commit is contained in:
Daan De Meyer 2024-09-11 21:29:25 +02:00 committed by Luca Boccassi
parent ca690e6b84
commit e196136bc5

View File

@ -15,7 +15,8 @@ ConditionNeedsUpdate=|/etc
ConditionFileNotEmpty=|!/etc/ld.so.cache
DefaultDependencies=no
After=local-fs.target
# systemd-confext.service might put the ld.so.conf configuration files in place so order this after that.
After=local-fs.target systemd-confext.service
Before=sysinit.target systemd-update-done.service
Conflicts=shutdown.target initrd-switch-root.target
Before=shutdown.target initrd-switch-root.target