Skip to content

Commit

Permalink
fix #900
Browse files Browse the repository at this point in the history
  • Loading branch information
neilpang committed Jun 28, 2017
1 parent eb0ef6b commit 9dd62ae
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,10 @@ RUN for verb in help \

RUN printf "%b" '#!'"/usr/bin/env sh\n \
if [ \"\$1\" = \"daemon\" ]; then \n \
crond -f\n \
trap \"echo stop && killall crond && exit 0\" SIGTERM SIGINT \n \
crond && while true; do sleep 1; done;\n \
else \n \
/root/.acme.sh/acme.sh --config-home /acme.sh \"\$@\"\n \
exec -- \"\$@\"\n \
fi" >/entry.sh && chmod +x /entry.sh

VOLUME /acme.sh
Expand Down

0 comments on commit 9dd62ae

Please sign in to comment.