diff --git a/Dockerfile b/Dockerfile index 79fd1d89..f5eecd7c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -64,6 +64,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 && sleep infinity &\n \ wait \n \