ldconfig.service 647 B

123456789101112131415161718192021
  1. # This file is part of systemd.
  2. #
  3. # systemd is free software; you can redistribute it and/or modify it
  4. # under the terms of the GNU Lesser General Public License as published by
  5. # the Free Software Foundation; either version 2.1 of the License, or
  6. # (at your option) any later version.
  7. [Unit]
  8. Description=Rebuild Dynamic Linker Cache
  9. Documentation=man:ldconfig(8)
  10. DefaultDependencies=no
  11. Conflicts=shutdown.target
  12. After=local-fs.target
  13. Before=sysinit.target shutdown.target systemd-update-done.service
  14. ConditionNeedsUpdate=|/etc
  15. ConditionFileNotEmpty=|!/etc/ld.so.cache
  16. [Service]
  17. Type=oneshot
  18. RemainAfterExit=yes
  19. ExecStart=/sbin/ldconfig -X