summaryrefslogtreecommitdiff
path: root/units
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2023-01-02 15:01:56 +0100
committerLennart Poettering <lennart@poettering.net>2023-01-10 18:28:38 +0100
commitdd0ab174c36492cdcb92cf46844fb0905b1d4a7e (patch)
treeda68d0b7950bdce0f387ac0acadea66f84b91cca /units
parent81e19b6f6585d656e972efad73781e184ca0e7a0 (diff)
downloadsystemd-dd0ab174c36492cdcb92cf46844fb0905b1d4a7e.tar.gz
pid1: make sure we send our calling service manager RELOADING=1 when reloading
And send READY=1 again when we are done with it. We do this not only for "daemon-reload" but also for "daemon-reexec" and "switch-root", since from the perspective of an encapsulating service manager these three operations are not that different.
Diffstat (limited to 'units')
-rw-r--r--units/user@.service.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/units/user@.service.in b/units/user@.service.in
index 1660de0326..1558764909 100644
--- a/units/user@.service.in
+++ b/units/user@.service.in
@@ -17,7 +17,7 @@ IgnoreOnIsolate=yes
[Service]
User=%i
PAMName=systemd-user
-Type=notify
+Type=notify-reload
ExecStart={{ROOTLIBEXECDIR}}/systemd --user
Slice=user-%i.slice
KillMode=mixed