FreeBSD Bugzilla – Attachment 213834 Details for
Bug 245954
security/py-certbot: Do not stop web service when renewing certificate (rc)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Use --deploy-hook
certbot-deploy-hook.patch (text/plain), 1.13 KB, created by
Max Khon
on 2020-04-27 06:10:37 UTC
(
hide
)
Description:
Use --deploy-hook
Filename:
MIME Type:
Creator:
Max Khon
Created:
2020-04-27 06:10:37 UTC
Size:
1.13 KB
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (revision 533100) >+++ Makefile (working copy) >@@ -3,6 +3,7 @@ > > PORTNAME= certbot > PORTVERSION= ${ACME_VERSION} >+PORTREVISION= 1 > PORTEPOCH= 1 > CATEGORIES= security python > MASTER_SITES= CHEESESHOP >Index: files/500.certbot.in >=================================================================== >--- files/500.certbot.in (revision 533100) >+++ files/500.certbot.in (working copy) >@@ -26,20 +26,17 @@ > echo > echo "Renewing Let's Encrypt certificates:" > >- PRE_HOOK="" >- POST_HOOK="" >+ DEPLOY_HOOK="" > if [ -n "$weekly_certbot_service" ] > then > if service "$weekly_certbot_service" onestatus > then >- PRE_HOOK="service $weekly_certbot_service onestop" >- POST_HOOK="service $weekly_certbot_service onestart" >+ DEPLOY_HOOK="service $weekly_certbot_service onereload" > fi > fi > > anticongestion >- if %%LOCALBASE%%/bin/certbot renew --pre-hook "$PRE_HOOK" \ >- --post-hook "$POST_HOOK" \ >+ if %%LOCALBASE%%/bin/certbot renew --deploy-hook "$DEPLOY_HOOK" \ > --no-random-sleep-on-renew > then > rc=0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 245954
: 213834