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