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:
parent
d06e8fbce3
commit
eb748aef4f
|
@ -10,6 +10,7 @@
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=/run/user/%i mount wrapper
|
Description=/run/user/%i mount wrapper
|
||||||
Documentation=man:user@.service(5)
|
Documentation=man:user@.service(5)
|
||||||
|
After=systemd-user-sessions.service
|
||||||
StopWhenUnneeded=yes
|
StopWhenUnneeded=yes
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
|
|
Loading…
Reference in a new issue