blob: 5a974c3a210548eaffe2ca549ab02127921f0e11 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
[Unit]
Description=Nginx Exporter
After=network.target
[Service]
User=nginx_exporter
Group=prometheus
Type=simple
ExecStart=/opt/nginx_exporter/nginx-prometheus-exporter -nginx.scrape-uri=http://127.0.0.2:8080/stub_status
[Install]
WantedBy=multi-user.target
|