From f84331539deae28fbeb42d45ad0c8d583b3372a3 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Mon, 2 Jan 2023 17:21:16 +0100 Subject: 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. --- units/systemd-udevd.service.in | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'units') 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 -- cgit v1.2.1