Add crond to entrypoint
This commit is contained in:
parent
63c1de4e07
commit
dddcd602f3
2 changed files with 7 additions and 0 deletions
|
@ -124,6 +124,10 @@ Added support for nginx webserver, based on official nginx image
|
||||||
|
|
||||||
- Fix incorrect configuration sourcing
|
- Fix incorrect configuration sourcing
|
||||||
|
|
||||||
|
### 1.1.2
|
||||||
|
|
||||||
|
- Add missing crond invocation
|
||||||
|
|
||||||
|
|
||||||
## Kubernetes
|
## Kubernetes
|
||||||
|
|
||||||
|
|
|
@ -63,6 +63,9 @@ fi
|
||||||
# If it requested to renew once only we are done here
|
# If it requested to renew once only we are done here
|
||||||
[ "$ONLYRENEWCERTSONCE" ] && exit 0
|
[ "$ONLYRENEWCERTSONCE" ] && exit 0
|
||||||
|
|
||||||
|
# Start cron for automatic certificate renewal
|
||||||
|
crond
|
||||||
|
|
||||||
if [ "$NO_NGINX" ]; then
|
if [ "$NO_NGINX" ]; then
|
||||||
sleep infinity
|
sleep infinity
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue