You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am running lego using the goacme/lego docker image.
I am setting a cronjob to renew my certificates every day and if a renewal actually takes place, I need to restart my webserver. I don't want to blindly restart the webserver if no renewal took place (because there was still a good amount of days left until renewal).
For this reason, I think it would be very useful if lego would return a non-zero exit code if it refused to do the renewal.
The text was updated successfully, but these errors were encountered:
If you prefer not to use an exit code, then may I suggest adding a flag that will instruct lego to return, on stdout, a predictable short string that says "updated" or "noop" ?
I am running lego using the goacme/lego docker image.
I am setting a cronjob to renew my certificates every day and if a renewal actually takes place, I need to restart my webserver. I don't want to blindly restart the webserver if no renewal took place (because there was still a good amount of days left until renewal).
For this reason, I think it would be very useful if lego would return a non-zero exit code if it refused to do the renewal.
The text was updated successfully, but these errors were encountered: