mirror of
https://github.com/famedly/ansible-collection-base
synced 2024-11-10 06:24:17 +00:00
fix(lego): Provide post renewal script
This commit is contained in:
parent
ad8e17e45e
commit
0c0326d292
1 changed files with 3 additions and 0 deletions
|
@ -17,6 +17,9 @@ ExecStartPre=+-chmod {{ lego_certificate_store_mode }} {{ lego_certificate_store
|
|||
ExecStart={{ lego_command_systemd }}
|
||||
ExecStartPost=+-/bin/sh -c 'chown {{ lego_certificate_store_user }}:{{ lego_certificate_store_group }} {{ lego_certificate_store }}/*'
|
||||
ExecStartPost=+-/bin/sh -c 'chmod 0640 {{ lego_certificate_store }}/*'
|
||||
{% if lego_post_renewal_script is defined %}
|
||||
ExecStartPost=+-{{ lego_post_renewal_script }}
|
||||
{% endif %}
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
|
Loading…
Reference in a new issue