summaryrefslogtreecommitdiffstats
path: root/units
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2023-01-02 17:21:16 +0100
committerLennart Poettering <lennart@poettering.net>2023-01-10 18:28:38 +0100
commitf84331539deae28fbeb42d45ad0c8d583b3372a3 (patch)
tree81748aaded485391b15770ece1350ed4a8a654f4 /units
parentnetworkd: implement Type=notify-reload protocol (diff)
downloadsystemd-f84331539deae28fbeb42d45ad0c8d583b3372a3.tar.xz
systemd-f84331539deae28fbeb42d45ad0c8d583b3372a3.zip
udevd: implement the full Type=notify-reload protocol
We are basically already there, just need to add MONOTONIC_USEC= to the RELOADING=1 message, and make sure the message is generated in really all cases.
Diffstat (limited to 'units')
-rw-r--r--units/systemd-udevd.service.in3
1 files changed, 1 insertions, 2 deletions
diff --git a/units/systemd-udevd.service.in b/units/systemd-udevd.service.in
index e9dbe85ef4..dfc2a0e341 100644
--- a/units/systemd-udevd.service.in
+++ b/units/systemd-udevd.service.in
@@ -18,14 +18,13 @@ ConditionPathIsReadWrite=/sys
[Service]
CapabilityBoundingSet=~CAP_SYS_TIME CAP_WAKE_ALARM
Delegate=pids
-Type=notify
+Type=notify-reload
# Note that udev 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=udevadm control --reload --timeout 0
KillMode=mixed
TasksMax=infinity
PrivateMounts=yes