mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-20 08:40:50 +00:00
Kill forgotten Runner.Listener too
This commit is contained in:
parent
e77c9fbd53
commit
5f9704a3c1
@ -104,7 +104,7 @@ check_proceed_spot_termination() {
|
|||||||
if [ -n "$runner_pid" ]; then
|
if [ -n "$runner_pid" ]; then
|
||||||
# Kill the runner to not allow it cancelling the job
|
# Kill the runner to not allow it cancelling the job
|
||||||
# shellcheck disable=SC2046
|
# shellcheck disable=SC2046
|
||||||
kill -9 $(list_children "$runner_pid")
|
kill -9 "$runner_pid" $(list_children "$runner_pid")
|
||||||
fi
|
fi
|
||||||
sudo -u ubuntu ./config.sh remove --token "$(get_runner_token)"
|
sudo -u ubuntu ./config.sh remove --token "$(get_runner_token)"
|
||||||
terminate_and_exit
|
terminate_and_exit
|
||||||
|
Loading…
Reference in New Issue
Block a user