Skip to content

Commit

Permalink
units: order user-runtime-dir@.service after systemd-user-sessions.se…
Browse files Browse the repository at this point in the history
…rvice

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.
  • Loading branch information
poettering committed Aug 3, 2018
1 parent d06e8fb commit eb748ae
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions units/user-runtime-dir@.service.in
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
[Unit]
Description=/run/user/%i mount wrapper
Documentation=man:user@.service(5)
After=systemd-user-sessions.service
StopWhenUnneeded=yes

[Service]
Expand Down

0 comments on commit eb748ae

Please sign in to comment.