Merge pull request #125331 from wentasah/fix-mailman-serivce

nixos/mailman: Fix mailman-settings.service configuration
This commit is contained in:
Linus Heckemann 2021-06-03 10:34:45 +02:00 committed by GitHub
commit 19cd7343fd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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