1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-21 13:10:33 +00:00

nixos/tests/prometheus-exporters: fix nogroup

Add a group after the removal of the nogroup default in #133166.
This commit is contained in:
rnhmjoj 2021-09-22 08:39:57 +02:00
parent 5b4f8afae4
commit 78b0883e2f
No known key found for this signature in database
GPG key ID: BFBAF4C975F76450

View file

@ -554,7 +554,11 @@ let
WorkingDirectory = "/var/spool/mail";
};
};
users.users.mailexporter.isSystemUser = true;
users.users.mailexporter = {
isSystemUser = true;
group = "mailexporter";
};
users.groups.mailexporter = {};
};
exporterTest = ''
wait_for_unit("postfix.service")