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

8 lines
189 B
Django/Jinja

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