kill-ssh-user-sessions.service: laisser un peu de temps pour que le client soit notifié
This commit is contained in:
parent
4b7d4f4c04
commit
62a59e51f4
|
@ -5,7 +5,7 @@ Before=network.target shutdown.target
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=oneshot
|
Type=oneshot
|
||||||
ExecStart=/bin/sh -c "/usr/bin/killall sshd;:"
|
ExecStart=/bin/sh -c "/usr/bin/killall sshd; sleep 2; :"
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=poweroff.target halt.target reboot.target
|
WantedBy=poweroff.target halt.target reboot.target
|
||||||
|
|
Loading…
Reference in New Issue