summaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2011-04-14 23:46:44 +0200
committerKay Sievers <kay.sievers@vrfy.org>2011-04-14 23:46:44 +0200
commit7459bcdc8d12fdb217efd4a27a509f9f87ec7b1e (patch)
tree37d4efef248ce73af16975c0c20830b1cae54159 /init
parent7f2d3a3fc805d6a02a35ac3743139e3ea3a1ce73 (diff)
udevd: get netlink socket from systemd
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