]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
units: order systemd-user-sessions.service after network.target
authorLennart Poettering <lennart@poettering.net>
Wed, 20 Apr 2016 18:12:14 +0000 (20:12 +0200)
committerLennart Poettering <lennart@poettering.net>
Fri, 22 Apr 2016 14:17:00 +0000 (16:17 +0200)
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
units/systemd-user-sessions.service.in

index c09c05d4d5bd4fed0639c2e5b8f481d546bb1c27..b4ea5a134bee969d2db9083b37e4806075fa23e7 100644 (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