From 46228a293a4463a6384be301f56b78c5aeeb1e01 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Isma=C3=ABl=20Bouya?= Date: Mon, 11 Feb 2019 00:18:01 +0100 Subject: [PATCH] Adjust journald configuration and limit some verbose apps --- nixops/eldiron.nix | 4 ++++ nixops/modules/websites/tools/mastodon/mastodon.nix | 2 ++ 2 files changed, 6 insertions(+) diff --git a/nixops/eldiron.nix b/nixops/eldiron.nix index a4b3f73..2376e54 100644 --- a/nixops/eldiron.nix +++ b/nixops/eldiron.nix @@ -36,6 +36,10 @@ services.myWebsites.tools.enable = true; services.pure-ftpd.enable = true; + services.journald.extraConfig = '' + MaxLevelStore="warning" + MaxRetentionSec="1year" + ''; networking = { firewall = { enable = true; diff --git a/nixops/modules/websites/tools/mastodon/mastodon.nix b/nixops/modules/websites/tools/mastodon/mastodon.nix index ae2a3f6..5f0104c 100644 --- a/nixops/modules/websites/tools/mastodon/mastodon.nix +++ b/nixops/modules/websites/tools/mastodon/mastodon.nix @@ -90,6 +90,8 @@ let STREAMING_CLUSTER_NUM=1 + RAILS_LOG_LEVEL=warn + # LDAP authentication (optional) LDAP_ENABLED=true LDAP_HOST=ldap.immae.eu -- 2.41.0