summaryrefslogtreecommitdiff
path: root/src/udev-trigger.service.in
diff options
context:
space:
mode:
Diffstat (limited to 'src/udev-trigger.service.in')
-rw-r--r--src/udev-trigger.service.in10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/udev-trigger.service.in b/src/udev-trigger.service.in
new file mode 100644
index 0000000000..cd81945c88
--- /dev/null
+++ b/src/udev-trigger.service.in
@@ -0,0 +1,10 @@
+[Unit]
+Description=udev Coldplug all Devices
+Wants=udev.service
+After=udev-kernel.socket udev-control.socket
+DefaultDependencies=no
+
+[Service]
+Type=oneshot
+RemainAfterExit=yes
+ExecStart=@bindir@/udevadm trigger --type=subsystems --action=add ; @bindir@/udevadm trigger --type=devices --action=add