summaryrefslogtreecommitdiff
path: root/units/udev-kernel.socket
diff options
context:
space:
mode:
Diffstat (limited to 'units/udev-kernel.socket')
-rw-r--r--units/udev-kernel.socket10
1 files changed, 10 insertions, 0 deletions
diff --git a/units/udev-kernel.socket b/units/udev-kernel.socket
new file mode 100644
index 0000000000..23fa9d5e11
--- /dev/null
+++ b/units/udev-kernel.socket
@@ -0,0 +1,10 @@
+[Unit]
+Description=udev Kernel Socket
+DefaultDependencies=no
+ConditionCapability=CAP_MKNOD
+
+[Socket]
+Service=udev.service
+ReceiveBuffer=134217728
+ListenNetlink=kobject-uevent 1
+PassCredentials=yes