From: Ismaƫl Bouya Date: Sun, 10 Feb 2019 23:18:01 +0000 (+0100) Subject: Adjust journald configuration and limit some verbose apps X-Git-Tag: nur_publish~247 X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;ds=inline;h=46228a293a4463a6384be301f56b78c5aeeb1e01;p=perso%2FImmae%2FConfig%2FNix.git Adjust journald configuration and limit some verbose apps --- 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