computer-playbook/roles/health-btrfs/templates/health-btrfs.service.j2

8 lines
172 B
Django/Jinja

[Unit]
Description=Check btrfs status
OnFailure=systemd-notifier@%n.service
[Service]
Type=oneshot
ExecStart=/bin/bash {{docker_btrfs_health_check_folder}}health-btrfs.sh