From cab22edf1cbbb79b5510f10ac26813489edba376 Mon Sep 17 00:00:00 2001 From: Simon Bruder Date: Sat, 24 Aug 2024 11:17:33 +0200 Subject: [PATCH] hiroshi/languagetool: Restart automatically --- machines/hiroshi/services/languagetool.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/machines/hiroshi/services/languagetool.nix b/machines/hiroshi/services/languagetool.nix index a51598e..d5ec7d4 100644 --- a/machines/hiroshi/services/languagetool.nix +++ b/machines/hiroshi/services/languagetool.nix @@ -23,6 +23,9 @@ in # default log level is INFO, no easy way to reduce it. #systemd.services.languagetool.serviceConfig.StandardOutput = "null"; + # It often runs out of java heap memory, no matter what settinsg are used. + systemd.services.languagetool.serviceConfig.Restart = "always"; + services.nginx.virtualHosts."languagetool.sbruder.de" = { enableACME = true; forceSSL = true;