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

8 lines
182 B
Django/Jinja

[Unit]
Description=Check nginx configuration status
OnFailure=systemd-notifier@%n.service
[Service]
Type=oneshot
ExecStart=/usr/bin/python3 {{ health_nginx_folder }}health-nginx.py