From d0d66eeb906d911d73224bb3c7135dedc279e354 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joakim=20Kolsj=C3=B6?= Date: Mon, 2 Dec 2024 13:37:24 +0100 Subject: [PATCH] Fix status check Co-authored-by: Peter Wall <47324121+p-wall@users.noreply.github.com> --- app/controllers/api/cloud_inits_controller.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/controllers/api/cloud_inits_controller.rb b/app/controllers/api/cloud_inits_controller.rb index 50350be..ff43dbe 100644 --- a/app/controllers/api/cloud_inits_controller.rb +++ b/app/controllers/api/cloud_inits_controller.rb @@ -32,8 +32,9 @@ def show "while read -r env; do export \"$env\"; done < /etc/environment", "systemctl stop sshd", "systemctl disable sshd", - "curl https://maintenance.auctionet.dev/it-ran", + "curl https://maintenance.auctionet.dev/running; true", "curl -s https://raw.githubusercontent.com/actions/runner/main/scripts/create-latest-svc.sh | bash -s #{App.github_actions_runner_scope}", + "curl https://maintenance.auctionet.dev/it-ran; true", "reboot", ], }