Jake Buchholz Göktürk
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
0 deletions
-
Dockerfile
|
|
@ -64,6 +64,8 @@ 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 \ |
|
|
|
|
|
acme.sh --uninstall-cronjob \n \ |
|
|
|
|
|
acme.sh --install-cronjob \n \ |
|
|
trap \"echo stop && killall crond && exit 0\" SIGTERM SIGINT \n \ |
|
|
trap \"echo stop && killall crond && exit 0\" SIGTERM SIGINT \n \ |
|
|
crond && sleep infinity &\n \ |
|
|
crond && sleep infinity &\n \ |
|
|
wait \n \ |
|
|
wait \n \ |
|
|
|