]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - units/systemd-udevd-control.socket
hashmap: always set key output argument of internal_hashmap_first_key_and_value()
[thirdparty/systemd.git] / units / systemd-udevd-control.socket
index 9065ea2c643be706116144317eebe418b890f14a..5b8628c754abddb4da0284b4ab0ca21d446f26ec 100644 (file)
@@ -1,3 +1,5 @@
+#  SPDX-License-Identifier: LGPL-2.1+
+#
 #  This file is part of systemd.
 #
 #  systemd is free software; you can redistribute it and/or modify it
 Description=udev Control Socket
 Documentation=man:systemd-udevd.service(8) man:udev(7)
 DefaultDependencies=no
-ConditionCapability=CAP_MKNOD
+Before=sockets.target
+ConditionPathIsReadWrite=/sys
 
 [Socket]
 Service=systemd-udevd.service
 ListenSequentialPacket=/run/udev/control
 SocketMode=0600
 PassCredentials=yes
+RemoveOnStop=yes