]> git.ipfire.org Git - thirdparty/systemd.git/blob - units/systemd-udevd.service.in
Merge pull request #6985 from yuwata/empty
[thirdparty/systemd.git] / units / systemd-udevd.service.in
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
8 [Unit]
9 Description=udev Kernel Device Manager
10 Documentation=man:systemd-udevd.service(8) man:udev(7)
11 DefaultDependencies=no
12 After=systemd-sysusers.service systemd-hwdb-update.service
13 Before=sysinit.target
14 ConditionPathIsReadWrite=/sys
15
16 [Service]
17 Type=notify
18 OOMScoreAdjust=-1000
19 Sockets=systemd-udevd-control.socket systemd-udevd-kernel.socket
20 Restart=always
21 RestartSec=0
22 ExecStart=@rootlibexecdir@/systemd-udevd
23 KillMode=mixed
24 WatchdogSec=3min
25 TasksMax=infinity
26 MountFlags=slave
27 MemoryDenyWriteExecute=yes
28 RestrictRealtime=yes
29 RestrictAddressFamilies=AF_UNIX AF_NETLINK AF_INET AF_INET6
30 SystemCallArchitectures=native
31 LockPersonality=yes
32 IPAddressDeny=any