machines: name: Fix blocky upstream timeout on boot
Although blocky starts after unbound, it still takes a few seconds for it be ready - which blocky reliably races such that it errors out on resolving it's upstream (aka. unbound). Signed-off-by: Christoph Heiss <christoph@c8h4.io>
This commit is contained in:
parent
8a5b3dc60b
commit
d9b4fb8cb2
|
@ -1,4 +1,4 @@
|
|||
{ lib, my, ... }:
|
||||
{ lib, my, pkgs, ... }:
|
||||
|
||||
{
|
||||
imports =
|
||||
|
@ -31,5 +31,6 @@
|
|||
systemd.services.blocky = {
|
||||
requires = [ "unbound.service" ];
|
||||
after = [ "unbound.service" ];
|
||||
preStart = "${pkgs.coreutils-full}/bin/sleep 10";
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue