certificates/examples/docker/nginx/entrypoint.sh
2018-11-09 17:27:36 -08:00

10 lines
No EOL
135 B
Bash
Executable file

#!/bin/sh
# Wait for renewer
sleep 10
# watch for the update of the cert and reload nginx
/certwatch.sh &
# Run docker CMD
exec "$@"