home · contact · privacy
Add git repo serving/browsing to web server.
[config] / all_new_2018 / linkable_etc_files / web / etc / cron.d / certbot
1 # /etc/cron.d/certbot: crontab entries for the certbot package
2 #
3 # Upstream recommends attempting renewal twice a day
4 #
5 # Eventually, this will be an opportunity to validate certificates
6 # haven't been revoked, etc.  Renewal will only occur if expiration
7 # is within 30 days.
8 SHELL=/bin/sh
9 PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
10
11 # plomlompom added the --webroot -w /var/www/html/ so that renewal
12 # works with nginx running.
13 0 */12 * * * root test -x /usr/bin/certbot -a \! -d /run/systemd/system && perl -e 'sleep int(rand(3600))' && certbot -q renew --webroot -w /var/www/html/