mirror of
https://github.com/systemd/systemd.git
synced 2025-01-09 01:18:19 +03:00
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:
parent
991e274b61
commit
8c85680478
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user