units: order systemd-user-sessions.service after network.target

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
This commit is contained in:
Lennart Poettering 2016-04-20 20:12:14 +02:00
parent 991e274b61
commit 8c85680478
1 changed files with 1 additions and 1 deletions

View File

@ -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