summaryrefslogtreecommitdiff
path: root/src/udev-control.socket
diff options
context:
space:
mode:
Diffstat (limited to 'src/udev-control.socket')
-rw-r--r--src/udev-control.socket10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/udev-control.socket b/src/udev-control.socket
new file mode 100644
index 0000000000..f80f774427
--- /dev/null
+++ b/src/udev-control.socket
@@ -0,0 +1,10 @@
+[Unit]
+Description=udev Control Socket
+DefaultDependencies=no
+ConditionCapability=CAP_MKNOD
+
+[Socket]
+Service=udev.service
+ListenSequentialPacket=/run/udev/control
+SocketMode=0600
+PassCredentials=yes