diff options
author | Christopher Baines <mail@cbaines.net> | 2016-01-04 21:08:34 +0000 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2016-01-04 21:10:05 +0000 |
commit | 4ad713977cd7630ee33e73806d96a5f1e5bf0e60 (patch) | |
tree | b4ad040f6d55bf02d3dc46fae4beaefaabb863e0 | |
parent | 2683fe5b71114272c2405fe95a99316989badb70 (diff) | |
download | prometheus-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.
-rw-r--r-- | prometheus-pgbouncer-exporter.service | 2 |
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 |