aboutsummaryrefslogtreecommitdiff
path: root/services/docker/nginx/certbot.bash
blob: 0b8e3b7ca29c4b250ce2428abaa59af5abdb0261 (plain)
1
2
3
4
5
6
7
8
9
#!/usr/bin/bash

set -e

while true; do
    certbot renew --deploy-hook "nginx -s reload"
    echo "Sleep one day before next certbot renew."
    sleep 1d
done