Increase log retention to a month
This commit is contained in:
parent
6189015df2
commit
8de5ae1ffa
|
@ -91,8 +91,8 @@ with pkgs;
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
# Keep logs for a week
|
# Keep logs for a month
|
||||||
services.journald.extraConfig = "MaxRetentionSec=1week";
|
services.journald.extraConfig = "MaxRetentionSec=4week";
|
||||||
|
|
||||||
# Increase inotify limits and maximum buffer size
|
# Increase inotify limits and maximum buffer size
|
||||||
boot.kernel.sysctl = {
|
boot.kernel.sysctl = {
|
||||||
|
|
Loading…
Reference in New Issue