nixos/stalwart-mail: fix issue where webadmin interface disappears after some time

This commit is contained in:
oddlama 2024-10-11 02:30:58 +02:00
parent d3429a135a
commit ae5481883d
No known key found for this signature in database
GPG Key ID: 14EFE510775FE39A

View File

@ -82,6 +82,7 @@ in {
) {
webadmin = lib.mkDefault "file://${cfg.package.webadmin}/webadmin.zip";
};
webadmin.path = "/var/cache/stalwart-mail";
};
# This service stores a potentially large amount of data.
@ -117,6 +118,7 @@ in {
StandardOutput = "journal";
StandardError = "journal";
CacheDirectory = "stalwart-mail";
StateDirectory = "stalwart-mail";
# Bind standard privileged ports