Skip to content

Submit RELOAD_CMD failure into the exit_code #856

@Dr-Shadow

Description

@Dr-Shadow

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions