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.
This commit is contained in:
Lennart Poettering 2018-08-03 10:42:09 +02:00
parent d06e8fbce3
commit eb748aef4f
1 changed files with 1 additions and 0 deletions

View File

@ -10,6 +10,7 @@
[Unit]
Description=/run/user/%i mount wrapper
Documentation=man:user@.service(5)
After=systemd-user-sessions.service
StopWhenUnneeded=yes
[Service]