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

8 lines
166 B
Django/Jinja

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