diff --git a/entrypoint.sh b/entrypoint.sh index 844c62e..56ed761 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -88,7 +88,8 @@ _main() { fi if [[ -f ${TLS_KEY_FILE} && -f ${TLS_CERT_FILE} ]]; then - python3 generate_config.py --postfix && setup_dnsbl_reply_map && postfix start-fg + rm -f /etc/periodic/hourly/renew-postfix-tls + crond && python3 generate_config.py --postfix && setup_dnsbl_reply_map && postfix start-fg else python3 generate_config.py --certbot && certbot -n certonly; crond && python3 generate_config.py --postfix && setup_dnsbl_reply_map && postfix start-fg fi