1 # Program or function called in certain situations
3 # After generating the challenge-response, or after failed challenge (in this case altname is empty)
4 # Given arguments: clean_challenge|deploy_challenge altname token-filename token-content
6 # After successfully signing certificate
7 # Given arguments: deploy_cert domain path/to/privkey.pem path/to/cert.pem path/to/fullchain.pem
9 # BASEDIR and WELLKNOWN variables are exported and can be used in an external program
11 #HOOK="/etc/dehydrated/hooks/hook.sh"
13 # Chain clean_challenge|deploy_challenge arguments together into one hook call per certificate (default: no)