nixos/prometheus/systemd: Implement the extraFlags config option.
This commit is contained in:
parent
41aaf69b7d
commit
4bfe837a58
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,7 @@ in {
|
|||
serviceConfig = {
|
||||
ExecStart = ''
|
||||
${pkgs.prometheus-systemd-exporter}/bin/systemd_exporter \
|
||||
--web.listen-address ${cfg.listenAddress}:${toString cfg.port}
|
||||
--web.listen-address ${cfg.listenAddress}:${toString cfg.port} ${concatStringsSep " " cfg.extraFlags}
|
||||
'';
|
||||
RestrictAddressFamilies = [
|
||||
# Need AF_UNIX to collect data
|
||||
|
|
Loading…
Reference in a new issue