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

8 lines
210 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
2023-12-12 12:52:58 +01:00
ExecStart=/usr/bin/python3 {{ health_nginx_folder }}health-nginx.py {{nginx_servers_directory}}