]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - units/systemd-udevd.service.in
man: document initrd.target
[thirdparty/systemd.git] / units / systemd-udevd.service.in
index 6a3814e5d92607a397b88bb55015a6be47bc75ff..8b1dd0efc73fa91877f167dd910fd29f67dd8c8e 100644 (file)
@@ -17,20 +17,24 @@ ConditionPathIsReadWrite=/sys
 
 [Service]
 Type=notify
+# Note that udev also adjusts the OOM score internally and will reset the value internally for its workers
 OOMScoreAdjust=-1000
 Sockets=systemd-udevd-control.socket systemd-udevd-kernel.socket
 Restart=always
 RestartSec=0
 ExecStart=@rootlibexecdir@/systemd-udevd
+ExecReload=@rootbindir@/udevadm control --reload --timeout 0
 KillMode=mixed
-WatchdogSec=3min
 TasksMax=infinity
 PrivateMounts=yes
+ProtectHostname=yes
 MemoryDenyWriteExecute=yes
-RestrictRealtime=yes
 RestrictAddressFamilies=AF_UNIX AF_NETLINK AF_INET AF_INET6
+RestrictRealtime=yes
+RestrictSUIDSGID=yes
 SystemCallFilter=@system-service @module @raw-io
 SystemCallErrorNumber=EPERM
 SystemCallArchitectures=native
 LockPersonality=yes
 IPAddressDeny=any
+@SERVICE_WATCHDOG@