2012-05-21 21:12:18 +08:00
|
|
|
# This file is part of systemd.
|
|
|
|
#
|
|
|
|
# systemd is free software; you can redistribute it and/or modify it
|
|
|
|
# under the terms of the GNU Lesser General Public License as published by
|
|
|
|
# the Free Software Foundation; either version 2.1 of the License, or
|
|
|
|
# (at your option) any later version.
|
|
|
|
|
2010-06-25 07:31:57 +08:00
|
|
|
[Unit]
|
2010-08-20 00:02:20 +08:00
|
|
|
Description=udev Kernel Device Manager
|
2012-06-27 07:06:35 +08:00
|
|
|
Documentation=man:systemd-udevd.service(8) man:udev(7)
|
2013-03-26 04:22:52 +08:00
|
|
|
DefaultDependencies=no
|
2012-07-03 03:35:14 +08:00
|
|
|
Wants=systemd-udevd-control.socket systemd-udevd-kernel.socket
|
2015-04-03 20:27:16 +08:00
|
|
|
After=systemd-udevd-control.socket systemd-udevd-kernel.socket systemd-sysusers.service
|
2013-06-15 04:56:39 +08:00
|
|
|
Before=sysinit.target
|
|
|
|
ConditionPathIsReadWrite=/sys
|
2010-06-25 07:31:57 +08:00
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=notify
|
2011-04-14 20:44:21 +08:00
|
|
|
OOMScoreAdjust=-1000
|
2012-07-03 03:35:14 +08:00
|
|
|
Sockets=systemd-udevd-control.socket systemd-udevd-kernel.socket
|
2012-06-28 18:13:52 +08:00
|
|
|
Restart=always
|
2012-07-18 08:31:52 +08:00
|
|
|
RestartSec=0
|
2012-04-17 05:32:22 +08:00
|
|
|
ExecStart=@rootlibexecdir@/systemd-udevd
|
2015-04-24 22:12:28 +08:00
|
|
|
KillMode=mixed
|
2015-09-23 23:27:39 +08:00
|
|
|
WatchdogSec=3min
|
2016-06-24 04:31:01 +08:00
|
|
|
TasksMax=infinity
|
2016-08-26 19:23:27 +08:00
|
|
|
MountFlags=slave
|
|
|
|
MemoryDenyWriteExecute=yes
|
|
|
|
RestrictRealtime=yes
|
|
|
|
RestrictAddressFamilies=AF_UNIX AF_NETLINK
|