aboutsummaryrefslogtreecommitdiff
path: root/prometheus-pgbouncer-exporter.service
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2016-01-04 21:08:34 +0000
committerChristopher Baines <mail@cbaines.net>2016-01-04 21:10:05 +0000
commit4ad713977cd7630ee33e73806d96a5f1e5bf0e60 (patch)
treeb4ad040f6d55bf02d3dc46fae4beaefaabb863e0 /prometheus-pgbouncer-exporter.service
parent2683fe5b71114272c2405fe95a99316989badb70 (diff)
downloadprometheus-pgbouncer-exporter-4ad713977cd7630ee33e73806d96a5f1e5bf0e60.tar
prometheus-pgbouncer-exporter-4ad713977cd7630ee33e73806d96a5f1e5bf0e60.tar.gz
Specify that pgbouncer.service wants the prometheus-pgbouncer-exporter service
This is to have systemd start the prometheus-pgbouncer-exporter service, if it starts the pgbouncer.service. Previously, if pgbouncer was stopped, and then started, the exporter service would not also be started automatically.
Diffstat (limited to 'prometheus-pgbouncer-exporter.service')
-rw-r--r--prometheus-pgbouncer-exporter.service2
1 files changed, 1 insertions, 1 deletions
diff --git a/prometheus-pgbouncer-exporter.service b/prometheus-pgbouncer-exporter.service
index 39bdc5f..b95ab6c 100644
--- a/prometheus-pgbouncer-exporter.service
+++ b/prometheus-pgbouncer-exporter.service
@@ -8,4 +8,4 @@ User=postgres
ExecStart=/usr/bin/prometheus-pgbouncer-exporter
[Install]
-WantedBy=multi-user.target
+WantedBy=pgbouncer.service