prometheus-node-exporter: separate extra flags with a space
This commit is contained in:
parent
da529ac9e4
commit
df49e56fd6
1 changed files with 3 additions and 2 deletions
|
|
@ -7,8 +7,8 @@
|
|||
|
||||
let
|
||||
inherit (lib)
|
||||
escapeShellArg
|
||||
concatStringsSep
|
||||
escapeShellArgs
|
||||
getExe
|
||||
mkEnableOption
|
||||
mkIf
|
||||
|
|
@ -104,7 +104,8 @@ in {
|
|||
]
|
||||
++ (map (collector: "--collector.${collector}") cfg.enabledCollectors)
|
||||
++ (map (collector: "--no-collector.${collector}") cfg.disabledCollectors)
|
||||
) + escapeShellArgs cfg.extraFlags;
|
||||
++ (map escapeShellArg cfg.extraFlags)
|
||||
);
|
||||
serviceConfig = let
|
||||
logPath = config.users.users._prometheus-node-exporter.home
|
||||
+ "/prometheus-node-exporter.log";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue