mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-27 22:15:20 +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.
7 lines
171 B
Django/Jinja
7 lines
171 B
Django/Jinja
[Unit]
|
|
Description=auto balance btrfs
|
|
OnFailure=sys-ctl-alm-compose.{{ SOFTWARE_NAME }}@%n.service
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
ExecStart=/bin/sh -c 'btrfs-auto-balancer 90 10' |