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

8 lines
247 B
Django/Jinja

[Unit]
Description=Checking docker health
OnFailure=systemd-notifier.cymais@%n.service
[Service]
Type=oneshot
ExecStart=/bin/bash {{ health_docker_volumes_folder }}health-docker-volumes.sh "{{ whitelisted_anonymous_docker_volumes | join(' ') }}"