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:
parent
ca690e6b84
commit
e196136bc5
@ -15,7 +15,8 @@ ConditionNeedsUpdate=|/etc
|
|||||||
ConditionFileNotEmpty=|!/etc/ld.so.cache
|
ConditionFileNotEmpty=|!/etc/ld.so.cache
|
||||||
|
|
||||||
DefaultDependencies=no
|
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
|
Before=sysinit.target systemd-update-done.service
|
||||||
Conflicts=shutdown.target initrd-switch-root.target
|
Conflicts=shutdown.target initrd-switch-root.target
|
||||||
Before=shutdown.target initrd-switch-root.target
|
Before=shutdown.target initrd-switch-root.target
|
||||||
|
Loading…
Reference in New Issue
Block a user