yuzuru/invidious: Enable auto-restarts
This is not the cleanest way to make it work reliably, but since this is an upstream problem, I can’t do much else.
This commit is contained in:
parent
a9f0b42f2f
commit
5a75e8e443
|
@ -40,6 +40,10 @@
|
||||||
extraSettingsFile = config.sops.secrets.invidious-extra-settings.path;
|
extraSettingsFile = config.sops.secrets.invidious-extra-settings.path;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
systemd.services.invidious.serviceConfig = {
|
||||||
|
Restart = "on-failure";
|
||||||
|
};
|
||||||
|
|
||||||
services.nginx.virtualHosts."iv.sbruder.xyz" = {
|
services.nginx.virtualHosts."iv.sbruder.xyz" = {
|
||||||
locations = {
|
locations = {
|
||||||
"/robots.txt".return = "200 'User-agent: *\\nDisallow: /'";
|
"/robots.txt".return = "200 'User-agent: *\\nDisallow: /'";
|
||||||
|
|
Loading…
Reference in a new issue