Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: manual hook for success/failure #5704

Closed
pinkladywithcoco opened this issue Mar 11, 2018 · 2 comments
Closed

Feature request: manual hook for success/failure #5704

pinkladywithcoco opened this issue Mar 11, 2018 · 2 comments

Comments

@pinkladywithcoco
Copy link

I'm using Certbot with the --manual option on macOS Sierra version 10.12.6. This way i can use my own scripts.

I want to request another manual hook that can run after:

--manual-auth-hook
and
--manual-cleanup-hook

The hook must pass environment variable to indicate success/failure to our script.

This will allow us to do something incase of success/failure, specially if some errors were reported by the server.

@pinkladywithcoco pinkladywithcoco changed the title manual hook for success/failure Feature request: manual hook for success/failure Mar 11, 2018
@bmw
Copy link
Member

bmw commented May 22, 2018

I'm curious if you can get the behavior you want without us adding another hook. As a starting point, if you want to do something based on whether all of Certbot succeeds or fails, you can use Certbot's exit status.

If you want to do something if Certbot successfully obtain you a cert, you can use --deploy-hook. This will only be called if a cert was successfully obtained.

Using Certbot's exit status and deploy hooks, can you get the behavior you want?

@bmw
Copy link
Member

bmw commented May 9, 2019

It's been almost a year and I never got a response so I'm closing this issue. If you or others still want this, please comment or open a new issue explaining why the options I laid out above don't work for you.

@bmw bmw closed this as completed May 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants