From: Lennart Poettering Date: Wed, 20 Apr 2016 18:12:14 +0000 (+0200) Subject: units: order systemd-user-sessions.service after network.target X-Git-Tag: v230~150^2~2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8c856804780681e135d98ca94d08afe247557770;p=thirdparty%2Fsystemd.git 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 --- diff --git a/units/systemd-user-sessions.service.in b/units/systemd-user-sessions.service.in index c09c05d4d5b..b4ea5a134be 100644 --- a/units/systemd-user-sessions.service.in +++ b/units/systemd-user-sessions.service.in @@ -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