aboutsummaryrefslogtreecommitdiff
path: root/prometheus-pgbouncer-exporter.service
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2016-01-04 21:07:33 +0000
committerChristopher Baines <mail@cbaines.net>2016-01-04 21:07:33 +0000
commit2683fe5b71114272c2405fe95a99316989badb70 (patch)
treeed41619c7f75a24b27733f49df9ebce21565acca /prometheus-pgbouncer-exporter.service
parentcb1cd7c90fd1e4d1aa015254f86f0b26eee3120d (diff)
downloadprometheus-pgbouncer-exporter-2683fe5b71114272c2405fe95a99316989badb70.tar
prometheus-pgbouncer-exporter-2683fe5b71114272c2405fe95a99316989badb70.tar.gz
Specify BindsTo=pgbouncer.service as this is stronger than Requires
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 e6269af..39bdc5f 100644
--- a/prometheus-pgbouncer-exporter.service
+++ b/prometheus-pgbouncer-exporter.service
@@ -1,6 +1,6 @@
[Unit]
Description=Expose data from pgbouncer for collection by Prometheus
-Requires=pgbouncer.service
+BindsTo=pgbouncer.service
After=pgbouncer.service
[Service]