mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 13:40:28 +03:00
nixos/prometheus-kea-exporter: Fix ExecStart
arguments
The current `ExecStart` will not allow for multiple sockets to properly be passed to the program since the extra newline character is interpreted to be part of the socket path.
This commit is contained in:
parent
50c692f317
commit
5d79c93d77
2 changed files with 18 additions and 7 deletions
|
@ -35,7 +35,7 @@ in {
|
|||
${pkgs.prometheus-kea-exporter}/bin/kea-exporter \
|
||||
--address ${cfg.listenAddress} \
|
||||
--port ${toString cfg.port} \
|
||||
${concatStringsSep " \\n" cfg.controlSocketPaths}
|
||||
${concatStringsSep " " cfg.controlSocketPaths}
|
||||
'';
|
||||
SupplementaryGroups = [ "kea" ];
|
||||
RestrictAddressFamilies = [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue