2016-06-27 23:52:39 +03:00
|
|
|
[Unit]
|
2016-07-07 14:36:29 +03:00
|
|
|
Description=Renew Let's Encrypt certificates
|
2016-09-25 15:55:45 +03:00
|
|
|
ConditionFileIsExecutable={{ letsencrypt_certbot_dest }}
|
2016-06-27 23:52:39 +03:00
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=oneshot
|
|
|
|
ExecStart={{ letsencrypt_certbot_dest }} renew --standalone --pre-hook "/bin/systemctl stop nginx" --post-hook "/bin/systemctl start nginx"
|