roles/nginx: Add webroot to systemd renewal service
This commit is contained in:
parent
5d506ebc65
commit
f85eb2841a
@ -4,6 +4,6 @@ ConditionFileIsExecutable={{ letsencrypt_acme_home }}/acme.sh
|
|||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=oneshot
|
Type=oneshot
|
||||||
ExecStart={{ letsencrypt_acme_home }}/acme.sh --cron --home {{ letsencrypt_acme_home }} --reloadcmd "/bin/systemctl reload nginx"
|
ExecStart={{ letsencrypt_acme_home }}/acme.sh --cron --home {{ letsencrypt_acme_home }} --reloadcmd "/bin/systemctl reload nginx" -w /var/lib/letsencrypt
|
||||||
|
|
||||||
SuccessExitStatus=0 2
|
SuccessExitStatus=0 2
|
||||||
|
Loading…
Reference in New Issue
Block a user