summaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
Diffstat (limited to 'init')
-rw-r--r--init/udev.service.in1
-rw-r--r--init/udev.socket1
2 files changed, 2 insertions, 0 deletions
diff --git a/init/udev.service.in b/init/udev.service.in
index 345aa3f25b..117f5c8fd5 100644
--- a/init/udev.service.in
+++ b/init/udev.service.in
@@ -8,4 +8,5 @@ DefaultDependencies=no
[Service]
Type=notify
OOMScoreAdjust=-1000
+Restart=on-failure
ExecStart=@sbindir@/udevd
diff --git a/init/udev.socket b/init/udev.socket
index 81296306ac..12557be307 100644
--- a/init/udev.socket
+++ b/init/udev.socket
@@ -4,3 +4,4 @@ DefaultDependencies=no
[Socket]
ListenSequentialPacket=@/org/kernel/udev/udevd
+ListenNetlink=kobject-uevent 1