]> git.immae.eu Git - perso/Immae/Config/Nix.git/commitdiff
Adjust journald configuration and limit some verbose apps
authorIsmaël Bouya <ismael.bouya@normalesup.org>
Sun, 10 Feb 2019 23:18:01 +0000 (00:18 +0100)
committerIsmaël Bouya <ismael.bouya@normalesup.org>
Sun, 10 Feb 2019 23:18:01 +0000 (00:18 +0100)
nixops/eldiron.nix
nixops/modules/websites/tools/mastodon/mastodon.nix

index a4b3f73bd647a0171f65bb7bcb68300d33b6935e..2376e542c95d39fbab8b830d70803fd9b037c4ca 100644 (file)
     services.myWebsites.tools.enable = true;
     services.pure-ftpd.enable = true;
 
+    services.journald.extraConfig = ''
+      MaxLevelStore="warning"
+      MaxRetentionSec="1year"
+      '';
     networking = {
       firewall = {
         enable = true;
index ae2a3f609c179f587b3d57c8e942d4b2d9e461f3..5f0104c5da7a7b0e16f909ba1c80ee0b93bf2a57 100644 (file)
@@ -90,6 +90,8 @@ let
 
     STREAMING_CLUSTER_NUM=1
 
+    RAILS_LOG_LEVEL=warn
+
     # LDAP authentication (optional)
     LDAP_ENABLED=true
     LDAP_HOST=ldap.immae.eu