first commit

This commit is contained in:
sujiba 2024-09-17 00:45:38 +02:00
commit cfe7db8716
8 changed files with 370 additions and 0 deletions

View file

@ -0,0 +1,14 @@
#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

View file

@ -0,0 +1,13 @@
#jinja2: lstrip_blocks: True
# {{ ansible_managed }}
[Unit]
Description=Daily Renew certificates using acme.sh
[Timer]
OnCalendar=*-*-* 04:00
RandomizedDelaySec=1h
Persistent=true
[Install]
WantedBy=timers.target