if inspect_json[0]["State"]["Running"] is True:
# mark portal as unhealthy
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)
we should definitely drop a mention of this in the system logs or docker logs.
Not sure what log file would be most appropriate. Ideally you can stop a container and pass along a message saying why you stopped it, but I don't think that is possible.
Overview
PJ in linear:
in
healthchecker.py
we dowe should definitely drop a mention of this in the system logs or docker logs.
Not sure what log file would be most appropriate. Ideally you can stop a container and pass along a message saying why you stopped it, but I don't think that is possible.
Design or Proposal