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

8 lines
177 B
Django/Jinja

[Unit]
Description=Checking docker health
OnFailure=systemd-notifier@%n.service
[Service]
Type=oneshot
ExecStart=/bin/bash {{docker_health_check_folder}}docker-health-check.sh