mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-17 06:06:13 +03:00
nixos/security/acme: order after nss-lookup.target
This should hopefully solve races with DNS servers (such as unbound) during the activation of a new generation. Previously unbound could still be unavailable and thus the acme script would fail.
This commit is contained in:
parent
e7ebd6be80
commit
2c0ee52d91
@ -207,7 +207,7 @@ let
|
||||
|
||||
renewService = {
|
||||
description = "Renew ACME certificate for ${cert}";
|
||||
after = [ "network.target" "network-online.target" "acme-fixperms.service" ] ++ selfsignedDeps;
|
||||
after = [ "network.target" "network-online.target" "acme-fixperms.service" "nss-lookup.target" ] ++ selfsignedDeps;
|
||||
wants = [ "network-online.target" "acme-fixperms.service" ] ++ selfsignedDeps;
|
||||
|
||||
# https://github.com/NixOS/nixpkgs/pull/81371#issuecomment-605526099
|
||||
|
Loading…
Reference in New Issue
Block a user