home · contact · privacy
Improve certificate renewal mechanism.
[config] / all_new_2018 / linkable_etc_files / web / etc / systemd / system / certbot.service
1 [Unit]
2 Description=Certbot
3 Documentation=file:///usr/share/doc/python-certbot-doc/html/index.html
4 Documentation=https://letsencrypt.readthedocs.io/en/latest/
5 [Service]
6 # plomlompom added the --webroot -w /var/www/html/ so that renewal
7 # works with nginx running, and the nginx reload post-hook so that
8 # the new certificates are linked to by nginx.
9 Type=oneshot
10 ExecStart=/usr/bin/certbot -q renew --webroot -w /var/www/html/ --post-hook "service nginx reload"
11 PrivateTmp=true