certificates/examples/docker/nginx/entrypoint.sh

10 lines
135 B
Bash
Raw Permalink Normal View History

2018-11-10 01:27:36 +00:00
#!/bin/sh
# Wait for renewer
sleep 10
# watch for the update of the cert and reload nginx
/certwatch.sh &
# Run docker CMD
exec "$@"