diff options
author | 2018-08-03 10:42:09 +0200 | |
---|---|---|
committer | 2018-08-03 10:42:09 +0200 | |
commit | eb748aef4fbfd03b64938aa471bb8ceda1bc89a8 (patch) | |
tree | 176f5f93456aec46fe422b15c84c496f4bb48ec4 /units | |
parent | units: make sure user-runtime-dir@.service is Type=oneshot (diff) | |
download | systemd-eb748aef4fbfd03b64938aa471bb8ceda1bc89a8.tar.gz systemd-eb748aef4fbfd03b64938aa471bb8ceda1bc89a8.tar.bz2 systemd-eb748aef4fbfd03b64938aa471bb8ceda1bc89a8.zip |
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.
Diffstat (limited to 'units')
-rw-r--r-- | units/user-runtime-dir@.service.in | 1 |
1 files changed, 1 insertions, 0 deletions
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] |