[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