mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 13:41:26 +00: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
|
@ -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