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

8 lines
173 B
Django/Jinja

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