]> git.proxmox.com Git - mirror_acme.sh.git/commitdiff
fix https://github.com/acmesh-official/acme.sh/issues/992
authorneilpang <github@neilpang.com>
Sat, 28 Jan 2023 09:29:03 +0000 (17:29 +0800)
committerneilpang <github@neilpang.com>
Sat, 28 Jan 2023 09:29:03 +0000 (17:29 +0800)
Dockerfile

index d9c243b8dfe3aafe0f8681c864e489a5e18a411c..2ad50e6ac6d9557398e09cefc9f50fc137bb3670 100644 (file)
@@ -26,7 +26,7 @@ COPY ./ /install_acme.sh/
 RUN cd /install_acme.sh && ([ -f /install_acme.sh/acme.sh ] && /install_acme.sh/acme.sh --install || curl https://get.acme.sh | sh) && rm -rf /install_acme.sh/
 
 
-RUN ln -s  /root/.acme.sh/acme.sh  /usr/local/bin/acme.sh && crontab -l | grep acme.sh | sed 's#> /dev/null##' | crontab -
+RUN ln -s /root/.acme.sh/acme.sh /usr/local/bin/acme.sh && crontab -l | grep acme.sh | sed 's#> /dev/null#> /proc/1/fd/1 2>/proc/1/fd/2#' | crontab -
 
 RUN for verb in help \
   version \