mirror of
https://github.com/geerlingguy/ansible-role-certbot.git
synced 2026-09-10 16:00:41 +02:00
Adds the absolute certbot script path in the systemd service
This commit is contained in:
@@ -4,6 +4,10 @@ Description=Let's Encrypt renewal service
|
||||
[Service]
|
||||
User={{ certbot_auto_renew_user }}
|
||||
Type=oneshot
|
||||
ExecStart={{ certbot_script }} renew --quiet --agree-tos
|
||||
{% if certbot_script_absolute is defined %}
|
||||
ExecStart={{ certbot_script_absolute.stdout }} renew --quiet --agree-tos
|
||||
{% else %}
|
||||
ExecStart={{ certbot_script }} renew --quiet --agree-tos
|
||||
{% endif %}
|
||||
|
||||
ExecStartPost=/bin/systemctl reload {{ certbot_web_service }}.service
|
||||
|
||||
Reference in New Issue
Block a user