mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 06:45:16 +01:00
nixos/mailman: Fix mailman-settings.service configuration
Without this change, mailman-settings.service is not guaranteed to complete before dependent services. This can lead to various errors like: mailman-web-setup.service: Changing to the requested working directory failed: No such file or directory
This commit is contained in:
parent
d9e4512443
commit
2a4755e1d4
1 changed files with 1 additions and 0 deletions
|
@ -333,6 +333,7 @@ in {
|
|||
before = [ "mailman.service" "mailman-web-setup.service" "mailman-uwsgi.service" "hyperkitty.service" ];
|
||||
requiredBy = [ "mailman.service" "mailman-web-setup.service" "mailman-uwsgi.service" "hyperkitty.service" ];
|
||||
path = with pkgs; [ jq ];
|
||||
serviceConfig.Type = "oneshot";
|
||||
script = ''
|
||||
mailmanDir=/var/lib/mailman
|
||||
mailmanWebDir=/var/lib/mailman-web
|
||||
|
|
Loading…
Reference in a new issue