From db0d9c444c7c32c7098b36188c2c73ae23385da4 Mon Sep 17 00:00:00 2001 From: Michele Cereda Date: Fri, 4 Jul 2025 20:09:09 +0200 Subject: [PATCH] chore(gitlab/runners): add missing command to snippets --- snippets/gitlab/gitlab-runner.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/snippets/gitlab/gitlab-runner.sh b/snippets/gitlab/gitlab-runner.sh index fd92e75..ba53017 100644 --- a/snippets/gitlab/gitlab-runner.sh +++ b/snippets/gitlab/gitlab-runner.sh @@ -46,6 +46,7 @@ curl -fs 'https://gitlab.com/api/v4/runners/all?status=offline&per_page=100' -H # Force reloading the configuration file sudo kill -HUP $(pidof 'gitlab-runner') sudo kill -s 'SIGHUP' $(pgrep 'gitlab-runner') +sudo pkill -HUP 'gitlab-runner' # Stop accepting new builds and exit as soon as currently running builds finish # A.K.A. graceful shutdown