diff options
author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2025-04-12 16:12:36 +0200 |
---|---|---|
committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2025-04-12 16:12:36 +0200 |
commit | 7cd7381b3d19f7f17d48d6c9a84c44a4ec0b3802 (patch) | |
tree | 3b084b53f8697c48f652915b420529437e4a6458 /modules/by-name | |
parent | modules/stalwart-mail: Enable the http self-service interface (diff) | |
download | nixos-server-7cd7381b3d19f7f17d48d6c9a84c44a4ec0b3802.zip |
modules/stalwart-mail: Don't restart the systemd service
Restarting might be useful, if stalwart is actually _running_ in prod, but currently the constant restart makes it very difficult to debug (or even stop) the service.
Diffstat (limited to '')
-rw-r--r-- | modules/by-name/st/stalwart-mail/module.nix | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/modules/by-name/st/stalwart-mail/module.nix b/modules/by-name/st/stalwart-mail/module.nix index f65ba38..cc4acc9 100644 --- a/modules/by-name/st/stalwart-mail/module.nix +++ b/modules/by-name/st/stalwart-mail/module.nix @@ -185,7 +185,6 @@ in { # However, this decision could obviously be reversed in the future. <2025-02-08> enable = false; inherit (cfg) package; - # dataDir = cfg.dataDirectory; }; nginx.virtualHosts."${cfg.fqdn}" = { @@ -345,8 +344,7 @@ in { ${lib.getExe cfg.package} --config="$CACHE_DIRECTORY/mutable_config_file.toml" ''; - Restart = "on-failure"; - RestartSec = 5; + Restart = "no"; KillMode = "process"; KillSignal = "SIGINT"; |