stalwart: remove refs to stalwart-mail

* re-name systemd service
* update test
This commit is contained in:
Darren Rambaud
2026-01-28 23:51:47 -06:00
parent dbdc4b8d6e
commit 9dc7450f47
2 changed files with 4 additions and 4 deletions
+3 -3
View File
@@ -180,7 +180,7 @@ in
];
systemd = {
services.stalwart-mail = {
services.stalwart = {
description = "Stalwart Server";
wantedBy = [ "multi-user.target" ];
after = [
@@ -220,8 +220,8 @@ in
StateDirectory = if useLegacyDefault then "stalwart-mail" else "stalwart";
# Upstream uses "stalwart" as the username since 0.12.0
User = if useLegacyDefault then "stalwart-mail" else "${cfg.user}";
Group = if useLegacyDefault then "stalwart-mail" else "${cfg.group}";
User = "${cfg.user}";
Group = "${cfg.group}";
# Bind standard privileged ports
AmbientCapabilities = [ "CAP_NET_BIND_SERVICE" ];
+1 -1
View File
@@ -54,7 +54,7 @@ in
store."rocksdb" = {
type = "rocksdb";
path = "/var/lib/stalwart-mail/data";
path = "/var/lib/stalwart/data";
compression = "lz4";
};