aboutsummaryrefslogtreecommitdiff
path: root/prometheus-pgbouncer-exporter.service
diff options
context:
space:
mode:
authorChristopher Baines <chris@lucida.cbaines.net>2015-12-24 10:59:02 +0000
committerChristopher Baines <mail@cbaines.net>2015-12-30 13:09:00 +0000
commitb12129f0da219291e52b1725dae24528c882a55e (patch)
treecd37cd6b7f4a53eb7078dfdc1ff54639c9b45491 /prometheus-pgbouncer-exporter.service
downloadprometheus-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.service11
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