File: prometheus-nginx-exporter.service

package info (click to toggle)
prometheus-nginx-exporter 0.8.0%2Bds-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 1,152 kB
  • sloc: sh: 49; makefile: 47
file content (13 lines) | stat: -rw-r--r-- 371 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
[Unit]
Description=NGINX Prometheus Exporter
Documentation=https://github.com/nginxinc/nginx-prometheus-exporter man:prometheus-nginx-exporter(1)
After=network.target nginx.service

[Service]
Restart=on-failure
User=prometheus
EnvironmentFile=/etc/default/prometheus-nginx-exporter
ExecStart=/usr/bin/prometheus-nginx-exporter $ARGS

[Install]
WantedBy=multi-user.target