From 224076fd96f38b6b015a968ca16282328f3e6411 Mon Sep 17 00:00:00 2001 From: Metabaron1 <70103029+Metabaron1@users.noreply.github.com> Date: Sat, 8 Mar 2025 20:32:52 +0100 Subject: [PATCH] Update entrypoint.sh Rolback commit 459c533: Add crond and disable cron config, instead of removing crond --- entrypoint.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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