]> git.ipfire.org Git - thirdparty/systemd.git/blame - units/ldconfig.service
test: fix iscsi TEST-64-UDEV-STORAGE on Debian
[thirdparty/systemd.git] / units / ldconfig.service
CommitLineData
db9ecf05 1# SPDX-License-Identifier: LGPL-2.1-or-later
a7df2d1e 2#
137243fd
LP
3# This file is part of systemd.
4#
5# systemd is free software; you can redistribute it and/or modify it
6# under the terms of the GNU Lesser General Public License as published by
7# the Free Software Foundation; either version 2.1 of the License, or
8# (at your option) any later version.
9
10[Unit]
11Description=Rebuild Dynamic Linker Cache
12Documentation=man:ldconfig(8)
9810e419 13
05251075 14ConditionNeedsUpdate=|/etc
92eab5de 15ConditionFileNotEmpty=|!/etc/ld.so.cache
137243fd 16
9810e419
ZJS
17DefaultDependencies=no
18After=local-fs.target
19Before=sysinit.target systemd-update-done.service
7c0e2b55
ZJS
20Conflicts=shutdown.target initrd-switch-root.target
21Before=shutdown.target initrd-switch-root.target
9810e419 22
137243fd
LP
23[Service]
24Type=oneshot
25RemainAfterExit=yes
26ExecStart=/sbin/ldconfig -X