mirror of
https://github.com/systemd/systemd.git
synced 2025-09-10 22:52:49 +02:00
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:
@@ -10,6 +10,7 @@
|
||||
[Unit]
|
||||
Description=/run/user/%i mount wrapper
|
||||
Documentation=man:user@.service(5)
|
||||
After=systemd-user-sessions.service
|
||||
StopWhenUnneeded=yes
|
||||
|
||||
[Service]
|
||||
|
||||
Reference in New Issue
Block a user