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