From 01f5df464fd1c6ed0d90dc0adc377d6fdd74c9ff Mon Sep 17 00:00:00 2001 From: Rouven Seifert Date: Sat, 13 Jan 2024 17:36:22 +0100 Subject: [PATCH] zammad: set loglevel to warn --- modules/zammad.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/modules/zammad.nix b/modules/zammad.nix index 1c76772..2f11d1d 100644 --- a/modules/zammad.nix +++ b/modules/zammad.nix @@ -12,6 +12,12 @@ in port = 8085; secretKeyBaseFile = config.sops.secrets."zammad_secret".path; }; + + + # disably spammy logs + systemd.services.zammad-web.preStart = '' + sed -i -e "s|debug|warn|" ./config/environments/production.rb + ''; services.nginx.virtualHosts.${domain} = { enableACME = true;