nixos/prometheus-node-exporter: fix file collector

This commit is contained in:
WilliButz 2018-03-20 19:42:00 +01:00 committed by Robin Gloster
parent 53475653a5
commit de5205ae2d
No known key found for this signature in database
GPG key ID: D5C458DF6DD97EDF

View file

@ -27,6 +27,7 @@ in
};
serviceOpts = {
serviceConfig = {
RuntimeDirectory = "prometheus-node-exporter";
ExecStart = ''
${pkgs.prometheus-node-exporter}/bin/node_exporter \
${concatMapStringsSep " " (x: "--collector." + x) cfg.enabledCollectors} \