summaryrefslogtreecommitdiffstats
path: root/units/systemd-udevd-varlink.socket
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2024-12-21 23:07:50 +0100
committerYu Watanabe <watanabe.yu+github@gmail.com>2025-01-07 12:31:15 +0100
commit2bc733d9b0e9c0b850ed523f5d1695cddb0c23d7 (patch)
tree2670be75a28c7dadea046be678ae4af7266fa2c0 /units/systemd-udevd-varlink.socket
parentudevadm: use varlink connection to send ping (diff)
downloadsystemd-2bc733d9b0e9c0b850ed523f5d1695cddb0c23d7.tar.xz
systemd-2bc733d9b0e9c0b850ed523f5d1695cddb0c23d7.zip
units: introduce systemd-udevd-varlink.socket
Co-authored-by: David Tardon <dtardon@redhat.com>
Diffstat (limited to 'units/systemd-udevd-varlink.socket')
-rw-r--r--units/systemd-udevd-varlink.socket22
1 files changed, 22 insertions, 0 deletions
diff --git a/units/systemd-udevd-varlink.socket b/units/systemd-udevd-varlink.socket
new file mode 100644
index 0000000000..94fee15b08
--- /dev/null
+++ b/units/systemd-udevd-varlink.socket
@@ -0,0 +1,22 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
+#
+# This file is part of systemd.
+#
+# systemd is free software; you can redistribute it and/or modify it
+# under the terms of the GNU Lesser General Public License as published by
+# the Free Software Foundation; either version 2.1 of the License, or
+# (at your option) any later version.
+
+[Unit]
+Description=udev Varlink Socket
+Documentation=man:systemd-udevd-varlink.socket(8) man:udev(7)
+DefaultDependencies=no
+Before=sockets.target
+ConditionPathIsReadWrite=/sys
+
+[Socket]
+Service=systemd-udevd.service
+ListenStream=/run/udev/io.systemd.Udev
+FileDescriptorName=varlink
+SocketMode=0600
+RemoveOnStop=yes