]> git.ipfire.org Git - thirdparty/systemd.git/blame - units/systemd-udevd.service.in
Add SPDX license headers to python scripts
[thirdparty/systemd.git] / units / systemd-udevd.service.in
CommitLineData
49dbfa7b
LP
1# This file is part of systemd.
2#
3# systemd is free software; you can redistribute it and/or modify it
4# under the terms of the GNU Lesser General Public License as published by
5# the Free Software Foundation; either version 2.1 of the License, or
6# (at your option) any later version.
7
43fefbf6 8[Unit]
4c9b12a7 9Description=udev Kernel Device Manager
ee1c0ad4 10Documentation=man:systemd-udevd.service(8) man:udev(7)
b0afe214 11DefaultDependencies=no
1d422b15 12After=systemd-sysusers.service systemd-hwdb-update.service
edeb68c5
TG
13Before=sysinit.target
14ConditionPathIsReadWrite=/sys
43fefbf6
KS
15
16[Service]
17Type=notify
2b4f9e67 18OOMScoreAdjust=-1000
51dfddc2 19Sockets=systemd-udevd-control.socket systemd-udevd-kernel.socket
454591be 20Restart=always
47ec1184 21RestartSec=0
f13b388f 22ExecStart=@rootlibexecdir@/systemd-udevd
658f26b8 23KillMode=mixed
c2fc2c25 24WatchdogSec=3min
de2edc00 25TasksMax=infinity
0c28d51a
LP
26MountFlags=slave
27MemoryDenyWriteExecute=yes
28RestrictRealtime=yes
94f42fe3 29RestrictAddressFamilies=AF_UNIX AF_NETLINK AF_INET AF_INET6
7f396e5f 30SystemCallArchitectures=native
bff8f254 31LockPersonality=yes
0a9b166b 32IPAddressDeny=any