Skip to content

Commit

Permalink
Merge pull request #906 from Neilpang/dev
Browse files Browse the repository at this point in the history
fix #900
  • Loading branch information
neil committed Jun 28, 2017
2 parents ccf0492 + 9dd62ae commit 8e7d029
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 8e7d029

Please sign in to comment.