diff --git a/Dockerfile b/Dockerfile index 5112bf07..95085f89 100644 --- a/Dockerfile +++ b/Dockerfile @@ -58,6 +58,8 @@ RUN for verb in help \ RUN printf "%b" '#!'"/usr/bin/env sh\n \ if [ \"\$1\" = \"daemon\" ]; then \n \ + acme.sh --uninstall-cronjob \n \ + acme.sh --install-cronjob \n \ trap \"echo stop && killall crond && exit 0\" SIGTERM SIGINT \n \ crond && while true; do sleep 1; done;\n \ else \n \