about summary refs log tree commit diff
path: root/nixpkgs
diff options
context:
space:
mode:
authorAlyssa Ross <hi@alyssa.is>2020-12-11 18:22:53 +0000
committerAlyssa Ross <hi@alyssa.is>2020-12-11 18:22:53 +0000
commita2f67bb3102c34e7ea047d1b2b3c6bab6758ed5c (patch)
tree08b769586c9eb6815da985217e54e95e07966717 /nixpkgs
parent75aa6a7ff567f47b2f5e53b40b2e9a30d1f2a3db (diff)
downloadnixlib-a2f67bb3102c34e7ea047d1b2b3c6bab6758ed5c.tar
nixlib-a2f67bb3102c34e7ea047d1b2b3c6bab6758ed5c.tar.gz
nixlib-a2f67bb3102c34e7ea047d1b2b3c6bab6758ed5c.tar.bz2
nixlib-a2f67bb3102c34e7ea047d1b2b3c6bab6758ed5c.tar.lz
nixlib-a2f67bb3102c34e7ea047d1b2b3c6bab6758ed5c.tar.xz
nixlib-a2f67bb3102c34e7ea047d1b2b3c6bab6758ed5c.tar.zst
nixlib-a2f67bb3102c34e7ea047d1b2b3c6bab6758ed5c.zip
nixos/mailman: rename mailman-web.service
Extracted from
b478e0043c53964c99cc9a145c155a673af3c7d8 ("nixos/mailman: refactor"),
to bring myself closer to current upstream.
Diffstat (limited to 'nixpkgs')
-rw-r--r--nixpkgs/nixos/modules/services/mail/mailman.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/nixpkgs/nixos/modules/services/mail/mailman.nix b/nixpkgs/nixos/modules/services/mail/mailman.nix
index 4f3f52b45d7c..4c39b2fa72a0 100644
--- a/nixpkgs/nixos/modules/services/mail/mailman.nix
+++ b/nixpkgs/nixos/modules/services/mail/mailman.nix
@@ -235,8 +235,8 @@ in {
 
       mailman-settings = {
         description = "Generate settings files (including secrets) for Mailman";
-        before = [ "mailman.service" "mailman-web.service" "hyperkitty.service" "httpd.service" "uwsgi.service" ];
-        requiredBy = [ "mailman.service" "mailman-web.service" "hyperkitty.service" "httpd.service" "uwsgi.service" ];
+        before = [ "mailman.service" "mailman-web-setup.service" "hyperkitty.service" "httpd.service" "uwsgi.service" ];
+        requiredBy = [ "mailman.service" "mailman-web-setup.service" "hyperkitty.service" "httpd.service" "uwsgi.service" ];
         path = with pkgs; [ jq ];
         script = ''
           mailmanDir=/var/lib/mailman
@@ -277,7 +277,7 @@ in {
         };
       };
 
-      mailman-web = {
+      mailman-web-setup = {
         description = "Init Postorius DB";
         before = [ "httpd.service" "uwsgi.service" ];
         requiredBy = [ "httpd.service" "uwsgi.service" ];