2016-06-27 23:52:39 +03:00
|
|
|
[Unit]
|
2016-07-07 14:36:29 +03:00
|
|
|
Description=Renew Let's Encrypt certificates
|
2021-03-19 23:39:30 +02:00
|
|
|
ConditionFileIsExecutable={{ letsencrypt_acme_home }}/acme.sh
|
2016-06-27 23:52:39 +03:00
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=oneshot
|
2021-03-19 23:39:30 +02:00
|
|
|
ExecStart={{ letsencrypt_acme_home }}/acme.sh --cron --home {{ letsencrypt_acme_home }} --reloadcmd "/bin/systemctl reload nginx"
|
|
|
|
|
|
|
|
SuccessExitStatus=0 2
|