Unverified Commit 8e65989a authored by Yt's avatar Yt Committed by GitHub
Browse files

nixos/stalwart-mail: fix issue where webadmin interface disappears after some time (#347821)

parents e8c2e6f0 ae548188
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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