Server/Caddy: start after tailscale:x
This commit is contained in:
parent
0119c52db6
commit
16fa01ad7d
1 changed files with 2 additions and 2 deletions
|
|
@ -50,9 +50,9 @@ in {
|
|||
"${downloadsHostname},everest"
|
||||
];
|
||||
systemd = {
|
||||
units.tailscaled.requiredBy = ["caddy.service"];
|
||||
services.caddy.after = ["tailscaled.service"];
|
||||
# We have somewhat frequent power outages, and our ISP router takes
|
||||
# ages to boot up. If I don't add a delay, traefik tries to bind to
|
||||
# ages to boot up. If I don't add a delay, caddy tries to bind to
|
||||
# the tailscale interface before it's ready, making it crash too much
|
||||
# in too little time
|
||||
services.caddy.serviceConfig.RestartSec = lib.mkForce "120s";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue