Skip to content

Commit

Permalink
units: order systemd-user-sessions.service after network.target
Browse files Browse the repository at this point in the history
That way we can be sure that local users are logged out before the network is
shut down when the system goes down, so that SSH session should be ending
cleanly before the system goes down.

Fixes: #2390
  • Loading branch information
poettering committed Apr 22, 2016
1 parent 991e274 commit 8c85680
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion units/systemd-user-sessions.service.in
Expand Up @@ -8,7 +8,7 @@
[Unit]
Description=Permit User Sessions
Documentation=man:systemd-user-sessions.service(8)
After=remote-fs.target nss-user-lookup.target
After=remote-fs.target nss-user-lookup.target network.target

[Service]
Type=oneshot
Expand Down

0 comments on commit 8c85680

Please sign in to comment.