systemd-hwdb-update.service 778 B

123456789101112131415161718192021222324
  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 Hardware Database
  9. Documentation=man:hwdb(7) man:systemd-hwdb(8)
  10. DefaultDependencies=no
  11. Conflicts=shutdown.target
  12. After=systemd-remount-fs.service
  13. Before=sysinit.target shutdown.target systemd-update-done.service
  14. ConditionNeedsUpdate=/etc
  15. ConditionPathExists=|!/lib/udev/hwdb.bin
  16. ConditionPathExists=|/etc/udev/hwdb.bin
  17. ConditionDirectoryNotEmpty=|/etc/udev/hwdb.d/
  18. [Service]
  19. Type=oneshot
  20. RemainAfterExit=yes
  21. ExecStart=/bin/systemd-hwdb update
  22. TimeoutSec=90s