router: caddy: restart on failure
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing

This commit is contained in:
Jake Hillion 2023-08-03 21:47:21 +01:00
parent e85d2699f3
commit 571e8c5893

View File

@ -217,5 +217,11 @@
extraConfig = "reverse_proxy unix///run/netdata/netdata.sock";
};
};
### HACK: caddy needs tailscale to be up so allow it to restart on failure
systemd.services.caddy.serviceConfig = {
Restart = lib.mkForce "on-failure";
RestartSec = 15;
};
};
}