getssl icon indicating copy to clipboard operation
getssl copied to clipboard

Submit RELOAD_CMD failure into the exit_code

Open Dr-Shadow opened this issue 1 year ago • 0 comments

Hello, I had some nodes failing because the certificate didn't get reloaded correctly for a while and the error was not detected until the certificate was outdated.

reloading SSL services the input device is not a TTY getssl: error running: docker exec -it nginx-proxy sh <...>

I could fix my command which didn't have to include -it but would it be possible to detect if something went wrong during the RELOAD_CMD command ?

I actually monitor every getssl command and the exit_code could be used to detect if there is a problem.

Thanks in advance

Dr-Shadow avatar Sep 23 '24 07:09 Dr-Shadow