7 lines
231 B
Bash
Executable file
7 lines
231 B
Bash
Executable file
#!/usr/bin/env sh
|
|
|
|
python3 -c 'import random; import time; time.sleep(random.random() * 3600)' && \
|
|
certbot renew \
|
|
--webroot \
|
|
--webroot-path /var/lib/certbot/ \
|
|
--post-hook "/usr/sbin/nginx -s reload"
|