summaryrefslogtreecommitdiff
path: root/units/systemd-user-sessions.service.in
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2016-04-20 20:12:14 +0200
committerLennart Poettering <lennart@poettering.net>2016-04-22 16:17:00 +0200
commit8c856804780681e135d98ca94d08afe247557770 (patch)
tree1f236ea48e99133ad5a4067884457077bb574b7a /units/systemd-user-sessions.service.in
parent991e274b61f489e625274254138567c9c81b4c4b (diff)
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
Diffstat (limited to 'units/systemd-user-sessions.service.in')
-rw-r--r--units/systemd-user-sessions.service.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/units/systemd-user-sessions.service.in b/units/systemd-user-sessions.service.in
index c09c05d4d5..b4ea5a134b 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