acme.sh.role/templates/acme_sh.service.j2
2024-09-17 00:45:38 +02:00

14 lines
No EOL
347 B
Django/Jinja

#jinja2: lstrip_blocks: True
# {{ ansible_managed }}
[Unit]
Description=Renew certificates using acme.sh
After=network-online.target
[Service]
Type=oneshot
ExecStart={{ acmesh_install_path }}/acme.sh --cron --home {{ acmesh_install_path }} --config-home {{ acmesh_config_path }}
User={{ acme_user }}
Group={{ acme_group }}
SuccessExitStatus=0 2