0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-13 21:50:33 +03:00

nixos/tests/prometheus-exporters/kea: migrate to kea nixos module

This commit is contained in:
Martin Weinelt 2021-07-12 01:36:50 +02:00
parent 508408559a
commit cf139f7203
No known key found for this signature in database
GPG key ID: 87C1E9888F856759
2 changed files with 18 additions and 30 deletions

View file

@ -26,6 +26,7 @@ in {
};
serviceOpts = {
serviceConfig = {
User = "kea";
ExecStart = ''
${pkgs.prometheus-kea-exporter}/bin/kea-exporter \
--address ${cfg.listenAddress} \