Add pre-hook and post-hook to certbot renew
This commit is contained in:
parent
43ec79fc77
commit
bfbd5d469d
|
@ -12,7 +12,7 @@ certbot_auto_renew: true
|
||||||
certbot_auto_renew_user: "root"
|
certbot_auto_renew_user: "root"
|
||||||
certbot_auto_renew_hour: "3"
|
certbot_auto_renew_hour: "3"
|
||||||
certbot_auto_renew_minute: "30"
|
certbot_auto_renew_minute: "30"
|
||||||
certbot_auto_renew_options: "--quiet --no-self-upgrade"
|
certbot_auto_renew_options: "--quiet --no-self-upgrade --pre-hook \"/etc/init.d/nginx stop\" --post-hook \"/etc/init.d/nginx start\""
|
||||||
certbot_create_if_missing: true
|
certbot_create_if_missing: true
|
||||||
certbot_create_method: standalone
|
certbot_create_method: standalone
|
||||||
certbot_create_standalone_stop_services:
|
certbot_create_standalone_stop_services:
|
||||||
|
|
Loading…
Reference in a new issue