router: caddy: restart on failure
This commit is contained in:
parent
e85d2699f3
commit
571e8c5893
@ -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;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user