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