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]