git.iko.soy/typeable/nixpkgs
on master help sign in
nixos/httpd: drop postgresql reference
commit9b970d07f384f31737cb3d598913aba16dbc59bb authorAaron Andersen <aaron@fosslib.net> dateTue 2 Jul 2019, 11:53 (7 years ago) parent0fd6962
2 files changed+6−1
nixos/doc/manual/release-notes/rl-1909.xml+5 nixos/modules/services/web-servers/apache-httpd/default.nix+1−1
nixos/doc/manual/release-notes/rl-1909.xml+5
@@ -148,6 +148,11 @@
148148 </para>
149149 </listitem>
150150 <listitem>
151+ <para>
152+ The httpd service no longer attempts to start the postgresql service. If you have come to depend
153+ on this behaviour then you can preserve the behavior with the following configuration:
154+ <literal>systemd.services.httpd.after = [ "postgresql.service" ];</literal>
155+ </para>
151156 <para>
152157 The option <option>services.httpd.extraSubservices</option> has been
153158 marked as deprecated. You may still use this feature, but it will be
nixos/modules/services/web-servers/apache-httpd/default.nix+1−1
@@ -671,7 +671,7 @@ in
671671
672672 wantedBy = [ "multi-user.target" ];
673673 wants = [ "keys.target" ];
674− after = [ "network.target" "fs.target" "postgresql.service" "keys.target" ];
674+ after = [ "network.target" "fs.target" "keys.target" ];
675675
676676 path =
677677 [ httpd pkgs.coreutils pkgs.gnugrep ]