diff options
author | Christopher Baines <chris@lucida.cbaines.net> | 2015-12-24 10:59:02 +0000 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2015-12-30 13:09:00 +0000 |
commit | b12129f0da219291e52b1725dae24528c882a55e (patch) | |
tree | cd37cd6b7f4a53eb7078dfdc1ff54639c9b45491 /prometheus-pgbouncer-exporter.service | |
download | prometheus-pgbouncer-exporter-b12129f0da219291e52b1725dae24528c882a55e.tar prometheus-pgbouncer-exporter-b12129f0da219291e52b1725dae24528c882a55e.tar.gz |
Initial commit
Diffstat (limited to 'prometheus-pgbouncer-exporter.service')
-rw-r--r-- | prometheus-pgbouncer-exporter.service | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/prometheus-pgbouncer-exporter.service b/prometheus-pgbouncer-exporter.service new file mode 100644 index 0000000..e6269af --- /dev/null +++ b/prometheus-pgbouncer-exporter.service @@ -0,0 +1,11 @@ +[Unit] +Description=Expose data from pgbouncer for collection by Prometheus +Requires=pgbouncer.service +After=pgbouncer.service + +[Service] +User=postgres +ExecStart=/usr/bin/prometheus-pgbouncer-exporter + +[Install] +WantedBy=multi-user.target |