mirror of
https://github.com/acmesh-official/acme.sh.git
synced 2025-05-08 07:54:13 +00:00
run crond foreground
crond can be run foreground, use `-f` param.
This commit is contained in:
parent
4c32bc8e22
commit
3632761074
@ -64,7 +64,7 @@ RUN for verb in help \
|
|||||||
RUN printf "%b" '#!'"/usr/bin/env sh\n \
|
RUN printf "%b" '#!'"/usr/bin/env sh\n \
|
||||||
if [ \"\$1\" = \"daemon\" ]; then \n \
|
if [ \"\$1\" = \"daemon\" ]; then \n \
|
||||||
trap \"echo stop && killall crond && exit 0\" SIGTERM SIGINT \n \
|
trap \"echo stop && killall crond && exit 0\" SIGTERM SIGINT \n \
|
||||||
crond && while true; do sleep 1; done;\n \
|
exec crond -f\n \
|
||||||
else \n \
|
else \n \
|
||||||
exec -- \"\$@\"\n \
|
exec -- \"\$@\"\n \
|
||||||
fi" >/entry.sh && chmod +x /entry.sh
|
fi" >/entry.sh && chmod +x /entry.sh
|
||||||
|
Loading…
x
Reference in New Issue
Block a user