mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 21:50:33 +03:00
Merge pull request #135150 from dminuoso/rspamd-avoid-empty-postfix-service
nixos/rspamd: Avoid empty postfix service
This commit is contained in:
commit
a076ce1ed3
1 changed files with 3 additions and 2 deletions
|
@ -371,8 +371,9 @@ in
|
||||||
};
|
};
|
||||||
services.postfix.config = mkIf cfg.postfix.enable cfg.postfix.config;
|
services.postfix.config = mkIf cfg.postfix.enable cfg.postfix.config;
|
||||||
|
|
||||||
systemd.services.postfix.serviceConfig.SupplementaryGroups =
|
systemd.services.postfix = mkIf cfg.postfix.enable {
|
||||||
mkIf cfg.postfix.enable [ postfixCfg.group ];
|
serviceConfig.SupplementaryGroups = [ postfixCfg.group ];
|
||||||
|
};
|
||||||
|
|
||||||
# Allow users to run 'rspamc' and 'rspamadm'.
|
# Allow users to run 'rspamc' and 'rspamadm'.
|
||||||
environment.systemPackages = [ pkgs.rspamd ];
|
environment.systemPackages = [ pkgs.rspamd ];
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue