forked from mirrors/nixpkgs
Merge pull request #236025 from GaetanLepage/invidious-restart
This commit is contained in:
commit
746e3349f8
|
@ -41,6 +41,12 @@ let
|
|||
RestrictNamespaces = true;
|
||||
SystemCallArchitectures = "native";
|
||||
SystemCallFilter = [ "@system-service" "~@privileged" "~@resources" ];
|
||||
|
||||
# Because of various issues Invidious must be restarted often, at least once a day, ideally
|
||||
# every hour.
|
||||
# This option enables the automatic restarting of the Invidious instance.
|
||||
Restart = lib.mkDefault "always";
|
||||
RuntimeMaxSec = lib.mkDefault "1h";
|
||||
};
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue