summary refs log tree commit diff
path: root/nixos/modules/services/web-servers/apache-httpd/default.nix
diff options
context:
space:
mode:
authorArian van Putten <arian.vanputten@gmail.com>2020-04-14 15:05:02 +0200
committerArian van Putten <arian.vanputten@gmail.com>2020-06-15 11:05:00 +0200
commitcfd672a94d3a5a1505871658bbceb06344dfe80f (patch)
treeb21ba683abdbfaf3fa36e27040746c912fbca533 /nixos/modules/services/web-servers/apache-httpd/default.nix
parent681cc105ceaad05b23d483b3b40abc32364e3062 (diff)
downloadnixpkgs-cfd672a94d3a5a1505871658bbceb06344dfe80f.tar
nixpkgs-cfd672a94d3a5a1505871658bbceb06344dfe80f.tar.gz
nixpkgs-cfd672a94d3a5a1505871658bbceb06344dfe80f.tar.bz2
nixpkgs-cfd672a94d3a5a1505871658bbceb06344dfe80f.tar.lz
nixpkgs-cfd672a94d3a5a1505871658bbceb06344dfe80f.tar.xz
nixpkgs-cfd672a94d3a5a1505871658bbceb06344dfe80f.tar.zst
nixpkgs-cfd672a94d3a5a1505871658bbceb06344dfe80f.zip
nixos/acme: Also fix ordering for apache
Diffstat (limited to 'nixos/modules/services/web-servers/apache-httpd/default.nix')
-rw-r--r--nixos/modules/services/web-servers/apache-httpd/default.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/modules/services/web-servers/apache-httpd/default.nix b/nixos/modules/services/web-servers/apache-httpd/default.nix
index 8abee7130d7..e1d1217943b 100644
--- a/nixos/modules/services/web-servers/apache-httpd/default.nix
+++ b/nixos/modules/services/web-servers/apache-httpd/default.nix
@@ -708,6 +708,7 @@ in
         wantedBy = [ "multi-user.target" ];
         wants = concatLists (map (hostOpts: [ "acme-${hostOpts.hostName}.service" "acme-selfsigned-${hostOpts.hostName}.service" ]) vhostsACME);
         after = [ "network.target" "fs.target" ] ++ map (hostOpts: "acme-selfsigned-${hostOpts.hostName}.service") vhostsACME;
+        before = map (hostOpts: "acme-${hostOpts.hostName}.service") vhostsACME;
 
         path = [ pkg pkgs.coreutils pkgs.gnugrep ];