add compatibility mode for mongodb exporter service

This commit is contained in:
Camille Prugnard 2021-10-11 12:31:14 +02:00
parent 017f947089
commit bffeabd7a1

View File

@ -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]