add cronjob to renew ssl certs
This commit is contained in:
parent
e8dd27e606
commit
8e794d6695
|
@ -0,0 +1,7 @@
|
|||
#!/bin/bash
|
||||
|
||||
if [[ $(ls /mnt/config/ssl/live | wc -l) -gt 0 ]]; then
|
||||
certbot renew -n --agree-tos --rsa-key-size 4096 --config-dir /mnt/config/ssl --logs-dir /mnt/config/log --max-log-backups 0 --work-dir /tmp/certbot
|
||||
fi
|
||||
|
||||
exit 0
|
Loading…
Reference in New Issue