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

8 lines
192 B
Django/Jinja

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