mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-28 22:32:58 +03:00
nixos/mailman: set RemainAfterExit for settings
This seems to be required to have the unit re-run if services.mailman.restApiPassFile gets set.
This commit is contained in:
parent
43465c94d4
commit
7ddca49451
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user