turtle-wow-source-kinda/Dumps/Source Code/20 - Development_turtle-logs/main/Deploy/conf/prometheus_nginx.service
Brian Oost a1d5bb70b2 Init
2024-08-06 18:06:40 +02:00

13 lines
291 B
Desktop File

[Unit]
Description=NGINX Prometheus exporter
[Service]
WorkingDirectory=/root
ExecStart=/root/nginx-prometheus-exporter/nginx-prometheus-exporter -nginx.scrape-uri http://127.0.0.1:8080/stub_status
User=root
Type=simple
Restart=on-failure
RestartSec=10
[Install]
WantedBy=multi-user.target