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.
8 lines
235 B
Django/Jinja
8 lines
235 B
Django/Jinja
[Unit]
|
|
Description=checking disc space
|
|
OnFailure=sys-ctl-alm-compose.{{ SOFTWARE_NAME }}@%n.service
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
ExecStart=/bin/bash {{health_disc_space_folder}}sys-ctl-hlth-disc-space.sh {{size_percent_disc_space_warning}}
|