10 lines
315 B
Django/Jinja
10 lines
315 B
Django/Jinja
[Unit]
|
|
Description=Renew Let's Encrypt certificates
|
|
ConditionFileIsExecutable={{ letsencrypt_acme_home }}/acme.sh
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
ExecStart={{ letsencrypt_acme_home }}/acme.sh --cron --home {{ letsencrypt_acme_home }} --reloadcmd "/bin/systemctl reload nginx" -w /var/lib/letsencrypt
|
|
|
|
SuccessExitStatus=0 2
|