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

8 lines
178 B
Django/Jinja

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