aboutsummaryrefslogtreecommitdiff
path: root/prometheus-pgbouncer-exporter.service
blob: c0f2c6d19cb28d29fb81e685948c483b6bedcc97 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
[Unit]
Description=Expose data from pgbouncer for collection by Prometheus
BindsTo=pgbouncer.service
After=pgbouncer.service

[Service]
User=postgres
Environment='LICENCE_LOCATION=/usr/share/doc/prometheus-pgbouncer-exporter/copyright'
ExecStart=/usr/bin/prometheus-pgbouncer-exporter

[Install]
WantedBy=pgbouncer.service