Нема описа
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

etc_cron-daily_letsencrypt-renew 436B

12345678910
  1. #!/bin/bash
  2. # abort script on failed command
  3. set -o errexit
  4. # Renew all live certificates with LetsEncrypt. This needs to run at least
  5. # once every three months, but recommended frequency is once a day.
  6. certbot renew -q -c /etc/letsencrypt/cli.conf \
  7. --pre-hook="find /etc/letsencrypt/prerenew/ -maxdepth 1 -type f -executable -exec {} \;" \
  8. --post-hook="find /etc/letsencrypt/postrenew/ -maxdepth 1 -type f -executable -exec {} \;"