Skip to content

Commit

Permalink
Fix systemd example for configuring nginx_exporter.service (#650)
Browse files Browse the repository at this point in the history
  • Loading branch information
bruno-espino authored Jun 21, 2024
1 parent 222673a commit 742685a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/systemd/nginx_exporter.service
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ 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
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

0 comments on commit 742685a

Please sign in to comment.