mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-09 19:13:26 +03:00
stalwart-mail: 0.11.8 -> 0.12.2 (#409178)
This commit is contained in:
commit
d699cfc3b4
3 changed files with 18 additions and 9 deletions
|
@ -158,7 +158,7 @@ in
|
|||
serviceConfig = {
|
||||
ExecStart = [
|
||||
""
|
||||
"${cfg.package}/bin/stalwart-mail --config=${configFile}"
|
||||
"${lib.getExe cfg.package} --config=${configFile}"
|
||||
];
|
||||
LoadCredential = lib.mapAttrsToList (key: value: "${key}:${value}") cfg.credentials;
|
||||
|
||||
|
@ -171,6 +171,10 @@ in
|
|||
CacheDirectory = "stalwart-mail";
|
||||
StateDirectory = "stalwart-mail";
|
||||
|
||||
# Upstream uses "stalwart" as the username since 0.12.0
|
||||
User = "stalwart-mail";
|
||||
Group = "stalwart-mail";
|
||||
|
||||
# Bind standard privileged ports
|
||||
AmbientCapabilities = [ "CAP_NET_BIND_SERVICE" ];
|
||||
CapabilityBoundingSet = [ "CAP_NET_BIND_SERVICE" ];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue