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

8 lines
188 B
Plaintext
Raw Normal View History

2023-11-17 09:36:40 +01:00
[Unit]
Description=Check nginx configuration status
OnFailure=systemd-notifier@%n.service
[Service]
Type=oneshot
ExecStart=/usr/bin/python3 {{ nginx_health_check_folder }}health-nginx.py