kill-ssh-user-sessions.service: laisser un peu de temps pour que le client soit notifié

This commit is contained in:
Jephté Clain 2016-12-21 06:00:13 +04:00
parent 4b7d4f4c04
commit 62a59e51f4
1 changed files with 1 additions and 1 deletions

View File

@ -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