forked from mirrors/nixpkgs
nixos/prometheus-snmp-exporter: fix command line argument format
This commit is contained in:
parent
839b76ae21
commit
c477d6658c
|
@ -60,10 +60,10 @@ in
|
||||||
DynamicUser = true;
|
DynamicUser = true;
|
||||||
ExecStart = ''
|
ExecStart = ''
|
||||||
${pkgs.prometheus-snmp-exporter.bin}/bin/snmp_exporter \
|
${pkgs.prometheus-snmp-exporter.bin}/bin/snmp_exporter \
|
||||||
-config.file ${configFile} \
|
--config.file=${configFile} \
|
||||||
-log.format ${cfg.logFormat} \
|
--log.format=${cfg.logFormat} \
|
||||||
-log.level ${cfg.logLevel} \
|
--log.level=${cfg.logLevel} \
|
||||||
-web.listen-address ${cfg.listenAddress}:${toString cfg.port} \
|
--web.listen-address=${cfg.listenAddress}:${toString cfg.port} \
|
||||||
${concatStringsSep " \\\n " cfg.extraFlags}
|
${concatStringsSep " \\\n " cfg.extraFlags}
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue