turtle-wow-source-kinda/Dumps/Source Code/20 - Development_turtle-logs/main/Deploy/conf/prometheus_nginx.service

13 lines
291 B
SYSTEMD
Raw Normal View History

2024-08-06 16:06:40 +00:00
[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