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.
neomutt
Simon Bruder 2021-12-09 21:43:29 +01:00
parent a9f0b42f2f
commit 5a75e8e443
Signed by: simon
GPG Key ID: 8D3C82F9F309F8EC
1 changed files with 4 additions and 0 deletions

View File

@ -40,6 +40,10 @@
extraSettingsFile = config.sops.secrets.invidious-extra-settings.path;
};
systemd.services.invidious.serviceConfig = {
Restart = "on-failure";
};
services.nginx.virtualHosts."iv.sbruder.xyz" = {
locations = {
"/robots.txt".return = "200 'User-agent: *\\nDisallow: /'";