Darren Rambaud
2026-01-28 23:51:50 -06:00
parent 7d08d5257b
commit 7457ecf7bb
+3 -3
View File
@@ -170,7 +170,7 @@ in
users = {
${cfg.user} = {
isSystemUser = true;
group = "${cfg.group}";
inherit (cfg) group;
};
};
};
@@ -220,8 +220,8 @@ in
StateDirectory = if useLegacyDefault then "stalwart-mail" else "stalwart";
# Upstream uses "stalwart" as the username since 0.12.0
User = "${cfg.user}";
Group = "${cfg.group}";
User = cfg.user;
Group = cfg.group;
# Bind standard privileged ports
AmbientCapabilities = [ "CAP_NET_BIND_SERVICE" ];