mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-28 22:45:19 +02:00
This commit restructures systemctl service definitions and category mappings. Motivation: Alarm-related bugs revealed inconsistencies in service and role handling. Preparation step: lays the groundwork for fixing the alarm issues by aligning categories, roles, and service templates.
9 lines
312 B
Django/Jinja
9 lines
312 B
Django/Jinja
[Unit]
|
|
Description=Let's Encrypt renewal
|
|
OnFailure=sys-ctl-alm-compose.{{ SOFTWARE_NAME }}@%n.service
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
ExecStart=/usr/bin/certbot renew --quiet --agree-tos
|
|
ExecStartPost=/usr/bin/docker restart {{ applications | get_app_conf('svc-prx-openresty', 'docker.services.openresty.name', True) }}
|