commit b016e3acf9b98617e30d7bc407f18c77689ca666 Author: Thomas Draebing Date: Wed Aug 12 15:33:15 2020 +0200 Register graceful shutdown for kill command Change-Id: I24dfff06ee04fd5fe67846e2084749d3f700af03 diff --git a/java/com/google/gerrit/sshd/commands/KillCommand.java b/java/com/google/gerrit/sshd/commands/KillCommand.java index df74f86..a633a8a 100644 --- a/java/com/google/gerrit/sshd/commands/KillCommand.java +++ b/java/com/google/gerrit/sshd/commands/KillCommand.java @@ -47,6 +47,7 @@ final class KillCommand extends SshCommand { @Override protected void run() { + enableGracefulStop(); ConfigResource cfgRsrc = new ConfigResource(); for (String id : taskIds) { try {