From eb748aef4fbfd03b64938aa471bb8ceda1bc89a8 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Fri, 3 Aug 2018 10:42:09 +0200 Subject: units: order user-runtime-dir@.service after systemd-user-sessions.service We use systemd-user-sessions.service as barrier when to allow login sessions. With this patch user@.service is ordered after that too, so that any login related code (which user-runtime-dir@.service is) is guaranteed to run after the barrier, and never before. --- units/user-runtime-dir@.service.in | 1 + 1 file changed, 1 insertion(+) (limited to 'units') diff --git a/units/user-runtime-dir@.service.in b/units/user-runtime-dir@.service.in index 7bb41d75e..a187bb283 100644 --- a/units/user-runtime-dir@.service.in +++ b/units/user-runtime-dir@.service.in @@ -10,6 +10,7 @@ [Unit] Description=/run/user/%i mount wrapper Documentation=man:user@.service(5) +After=systemd-user-sessions.service StopWhenUnneeded=yes [Service] -- cgit v1.2.3-65-gdbad