debian-prometheus-postgres-.../service

13 lines
307 B
Plaintext

[Unit]
Description=Prometheus exporter for PostgreSQL
Documentation=https://github.com/wrouesnel/postgres_exporter
[Service]
Restart=always
User=prometheus
EnvironmentFile=/etc/default/prometheus-postgres-exporter
ExecStart=/usr/bin/prometheus-postgres-exporter $ARGS
[Install]
WantedBy=multi-user.target