diff --git a/templates/mongodb_exporter.upstart.j2 b/templates/mongodb_exporter.upstart.j2 index 5006902..f07e8ab 100644 --- a/templates/mongodb_exporter.upstart.j2 +++ b/templates/mongodb_exporter.upstart.j2 @@ -8,5 +8,5 @@ setuid {{ mongodb_prometheus_exporter_user }} setgid {{ mongodb_prometheus_exporter_user }} script - exec {{ mongodb_prometheus_exporter_cmd }} {{ mongodb_prometheus_exporter_opts }} {{ mongodb_prometheus_exporter_connection_opts }} {{ mongodb_prometheus_exporter_additional_opts }} > {{ mongodb_prometheus_exporter_logdir }}/mongodb_exporter.log 2>&1 + exec {{ mongodb_prometheus_exporter_cmd }} {{ mongodb_prometheus_exporter_opts }} {{ mongodb_prometheus_exporter_connection_opts }} {{ mongodb_prometheus_exporter_additional_opts }} end script