diff options
-rw-r--r-- | nixpkgs/nixos/modules/services/mail/mailman.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nixpkgs/nixos/modules/services/mail/mailman.nix b/nixpkgs/nixos/modules/services/mail/mailman.nix index b34adfd54db0..da967714e6b6 100644 --- a/nixpkgs/nixos/modules/services/mail/mailman.nix +++ b/nixpkgs/nixos/modules/services/mail/mailman.nix @@ -363,8 +363,8 @@ in { mailman-web-setup = { description = "Prepare mailman-web files and database"; - before = [ "mailman-uwsgi.service" ]; - requiredBy = [ "mailman-uwsgi.service" ]; + before = [ "hyperkitty.service" "mailman-uwsgi.service" ]; + requiredBy = [ "hyperkitty.service" "mailman-uwsgi.service" ]; restartTriggers = [ config.environment.etc."mailman3/settings.py".source ]; script = '' [[ -e "${webSettings.STATIC_ROOT}" ]] && find "${webSettings.STATIC_ROOT}/" -mindepth 1 -delete |