14 lines
347 B
Text
14 lines
347 B
Text
|
#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
|