bunkerized-nginx/scripts/certbot-renew.sh
2019-08-20 21:25:16 +00:00

7 lines
94 B
Bash

#!/bin/sh
certbot renew
if [ -f /run/nginx/nginx.pid ] ; then
/usr/sbin/nginx -s reload
fi