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.
This commit is contained in:
parent
f9e2af1e8b
commit
28b7d67d08
@ -621,7 +621,7 @@ in
|
|||||||
{ description = "Apache HTTPD";
|
{ description = "Apache HTTPD";
|
||||||
|
|
||||||
wantedBy = [ "multi-user.target" ];
|
wantedBy = [ "multi-user.target" ];
|
||||||
requires = [ "keys.target" ];
|
wants = [ "keys.target" ];
|
||||||
after = [ "network.target" "fs.target" "postgresql.service" "keys.target" ];
|
after = [ "network.target" "fs.target" "postgresql.service" "keys.target" ];
|
||||||
|
|
||||||
path =
|
path =
|
||||||
|
Loading…
x
Reference in New Issue
Block a user