diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2014-03-17 15:01:10 +0100 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2014-03-17 15:01:10 +0100 |
commit | 28b7d67d08a7a76c7508d4b6a8f791c2eba4a1b9 (patch) | |
tree | 9a4388c349d6f37fb72c4dd743d8225b7fdedb47 /nixos/modules/services/web-servers | |
parent | f9e2af1e8b62809e9af9acc92826c29f63db8043 (diff) | |
download | nixlib-28b7d67d08a7a76c7508d4b6a8f791c2eba4a1b9.tar nixlib-28b7d67d08a7a76c7508d4b6a8f791c2eba4a1b9.tar.gz nixlib-28b7d67d08a7a76c7508d4b6a8f791c2eba4a1b9.tar.bz2 nixlib-28b7d67d08a7a76c7508d4b6a8f791c2eba4a1b9.tar.lz nixlib-28b7d67d08a7a76c7508d4b6a8f791c2eba4a1b9.tar.xz nixlib-28b7d67d08a7a76c7508d4b6a8f791c2eba4a1b9.tar.zst nixlib-28b7d67d08a7a76c7508d4b6a8f791c2eba4a1b9.zip |
httpd: Don't require keys.target
This has the unintended side-effect of restarting httpd every time we run switch-to-configuration, even if httpd hasn't changed (because we're doing a "stop keys.target" now). So use a "Wants" dependency instead.
Diffstat (limited to 'nixos/modules/services/web-servers')
-rw-r--r-- | nixos/modules/services/web-servers/apache-httpd/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/web-servers/apache-httpd/default.nix b/nixos/modules/services/web-servers/apache-httpd/default.nix index a22ef10312d4..949dce96824b 100644 --- a/nixos/modules/services/web-servers/apache-httpd/default.nix +++ b/nixos/modules/services/web-servers/apache-httpd/default.nix @@ -621,7 +621,7 @@ in { description = "Apache HTTPD"; wantedBy = [ "multi-user.target" ]; - requires = [ "keys.target" ]; + wants = [ "keys.target" ]; after = [ "network.target" "fs.target" "postgresql.service" "keys.target" ]; path = |