diff options
author | Alyssa Ross <hi@alyssa.is> | 2023-05-18 11:15:26 +0000 |
---|---|---|
committer | Yureka <yuka@yuka.dev> | 2023-05-19 12:03:41 +0200 |
commit | 7ddca49451f841637491a6d2bbfc2048c78e5777 (patch) | |
tree | 3681890624660283e7c22844b83675a04f424b17 /nixos | |
parent | 43465c94d4d30c5c977b78ae12f4e1a47a3760ea (diff) |
nixos/mailman: set RemainAfterExit for settings
This seems to be required to have the unit re-run if services.mailman.restApiPassFile gets set.
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/modules/services/mail/mailman.nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/modules/services/mail/mailman.nix b/nixos/modules/services/mail/mailman.nix index ded30736440e2..ec2a19f58bb11 100644 --- a/nixos/modules/services/mail/mailman.nix +++ b/nixos/modules/services/mail/mailman.nix @@ -503,6 +503,7 @@ in { path = with pkgs; [ jq ]; after = optional withPostgresql "postgresql.service"; requires = optional withPostgresql "postgresql.service"; + serviceConfig.RemainAfterExit = true; serviceConfig.Type = "oneshot"; script = '' install -m0750 -o mailman -g mailman ${mailmanCfgFile} /etc/mailman.cfg |