X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=units%2Fsystemd-udev-hwdb-update.service.in;fp=units%2Fsystemd-udev-hwdb-update.service.in;h=4e7b845ea47a41b631b04cb928e0f25fd0bce992;hb=ecde7065f7b11a7a226d2f7b0e90e998a6347a59;hp=0000000000000000000000000000000000000000;hpb=a55654d598c78f8e084aa6a18fec6eff900c9aed;p=elogind.git diff --git a/units/systemd-udev-hwdb-update.service.in b/units/systemd-udev-hwdb-update.service.in new file mode 100644 index 000000000..4e7b845ea --- /dev/null +++ b/units/systemd-udev-hwdb-update.service.in @@ -0,0 +1,22 @@ +# This file is part of systemd. +# +# systemd is free software; you can redistribute it and/or modify it +# under the terms of the GNU Lesser General Public License as published by +# the Free Software Foundation; either version 2.1 of the License, or +# (at your option) any later version. + +[Unit] +Description=Rebuild Hardware Database +Documentation=man:udev(7) man:systemd-udevd.service(8) +DefaultDependencies=no +Conflicts=shutdown.target +After=systemd-readahead-collect.service systemd-readahead-replay.service systemd-remount-fs.service +Before=sysinit.target shutdown.target systemd-update-done.service +RefuseManualStart=yes +RefuseManualStop=yes +ConditionNeedsUpdate=/etc + +[Service] +Type=oneshot +RemainAfterExit=yes +ExecStart=@rootbindir@/udevadm hwdb --update