From bffeabd7a109edf6d48a6acf6c53f38e4cdcfcee Mon Sep 17 00:00:00 2001 From: Camille Prugnard Date: Mon, 11 Oct 2021 12:31:14 +0200 Subject: [PATCH] add compatibility mode for mongodb exporter service --- templates/systemd/prometheus-mongodb-exporter.service.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/systemd/prometheus-mongodb-exporter.service.j2 b/templates/systemd/prometheus-mongodb-exporter.service.j2 index ea78bae..c7dae3d 100644 --- a/templates/systemd/prometheus-mongodb-exporter.service.j2 +++ b/templates/systemd/prometheus-mongodb-exporter.service.j2 @@ -4,7 +4,7 @@ After=network.target [Service] Type=simple -ExecStart=/usr/local/bin/prometheus-mongodb-exporter +ExecStart=/usr/local/bin/prometheus-mongodb-exporter --compatible-mode EnvironmentFile=/etc/default/prometheus-mongodb-exporter [Install]