From f5b81d1287e0d8be1c265326d73dd31224e51cac Mon Sep 17 00:00:00 2001 From: Filip Rysavy <29089732+firyx@users.noreply.github.com> Date: Fri, 26 Nov 2021 16:38:53 +0100 Subject: [PATCH] Fix disabling portal in health checker --- setup-scripts/health-checker.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup-scripts/health-checker.py b/setup-scripts/health-checker.py index 7c5e9d94..a2bbbcea 100755 --- a/setup-scripts/health-checker.py +++ b/setup-scripts/health-checker.py @@ -107,7 +107,7 @@ async def check_disk(): inspect_json = json.loads(inspect) if inspect_json[0]["State"]["Running"] is True: # mark portal as unhealthy - os.popen("docker exec health-check cli/disable") + os.popen("docker exec health-check cli disable 'critical free disk space'") time.sleep(300) # wait 5 minutes to propagate dns changes os.popen("docker stop sia") # stop sia container return await send_msg(message, force_notify=True)