nixos/prometheus-node-exporter: fix file collector
This commit is contained in:
parent
53475653a5
commit
de5205ae2d
@ -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} \
|
||||
|
Loading…
Reference in New Issue
Block a user