]> git.ipfire.org Git - thirdparty/systemd.git/blob - units/systemd-udevd.service.in
Merge pull request #12511 from ssahani/high-avilability-12050
[thirdparty/systemd.git] / units / systemd-udevd.service.in
1 # SPDX-License-Identifier: LGPL-2.1+
2 #
3 # This file is part of systemd.
4 #
5 # systemd is free software; you can redistribute it and/or modify it
6 # under the terms of the GNU Lesser General Public License as published by
7 # the Free Software Foundation; either version 2.1 of the License, or
8 # (at your option) any later version.
9
10 [Unit]
11 Description=udev Kernel Device Manager
12 Documentation=man:systemd-udevd.service(8) man:udev(7)
13 DefaultDependencies=no
14 After=systemd-sysusers.service systemd-hwdb-update.service
15 Before=sysinit.target
16 ConditionPathIsReadWrite=/sys
17
18 [Service]
19 Type=notify
20 OOMScoreAdjust=-1000
21 Sockets=systemd-udevd-control.socket systemd-udevd-kernel.socket
22 Restart=always
23 RestartSec=0
24 ExecStart=@rootlibexecdir@/systemd-udevd
25 KillMode=mixed
26 WatchdogSec=3min
27 TasksMax=infinity
28 PrivateMounts=yes
29 ProtectHostname=yes
30 MemoryDenyWriteExecute=yes
31 RestrictAddressFamilies=AF_UNIX AF_NETLINK AF_INET AF_INET6
32 RestrictRealtime=yes
33 RestrictSUIDSGID=yes
34 SystemCallFilter=@system-service @module @raw-io
35 SystemCallErrorNumber=EPERM
36 SystemCallArchitectures=native
37 LockPersonality=yes
38 IPAddressDeny=any