1
0
mirror of https://github.com/nginxinc/nginx-prometheus-exporter.git synced 2025-07-03 19:02:31 +03:00
Files
nginx_exporter/examples/systemd/nginx_exporter.service
Luca Comellini f45b6fd440 Use web configuration from exporter-toolkit (#461)
Replaces manual implementation of TLS and adds Basic Auth.
2023-07-26 00:38:26 +00:00

11 lines
272 B
Desktop File

[Unit]
Description=NGINX Prometheus Exporter
Requires=nginx_exporter.socket
[Service]
User=nginx_exporter
ExecStart=/usr/local/bin/nginx-prometheus-exporter --nginx.scrape-uri="http://127.0.0.1:8080/stub_status" --web.systemd-socket
[Install]
WantedBy=multi-user.target