/lib/systemd/system/prometheus-pgbouncer-exporter.service is in prometheus-pgbouncer-exporter 1.7-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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' 'CONFIG=/etc/prometheus-pgbouncer-exporter.conf'
ExecStart=/usr/bin/prometheus-pgbouncer-exporter
[Install]
WantedBy=pgbouncer.service
|