summaryrefslogtreecommitdiff
path: root/init/udev.service.in
diff options
context:
space:
mode:
Diffstat (limited to 'init/udev.service.in')
-rw-r--r--init/udev.service.in15
1 files changed, 15 insertions, 0 deletions
diff --git a/init/udev.service.in b/init/udev.service.in
new file mode 100644
index 0000000000..a54626df50
--- /dev/null
+++ b/init/udev.service.in
@@ -0,0 +1,15 @@
+[Unit]
+Description=/dev and kernel device manager
+Before=sysinit.target
+
+[Service]
+Type=notify
+ExecStart=@sbindir@/udevd
+ExecStartPost=@sbindir@/udevadm trigger --type=subsystems --action=add
+ExecStartPost=@sbindir@/udevadm trigger --type=devices --action=add
+
+[Install]
+WantedBy=sysinit.target
+Also=udev-settle.service
+Also=udev-retry.service
+