Increase log retention to a month
This commit is contained in:
parent
724fb20316
commit
0aae0cfe45
|
@ -66,8 +66,8 @@ with pkgs;
|
||||||
# Clean tmp directory on shutdown
|
# Clean tmp directory on shutdown
|
||||||
boot.tmp.cleanOnBoot = true;
|
boot.tmp.cleanOnBoot = true;
|
||||||
|
|
||||||
# Keep logs for a week
|
# Keep logs for a month
|
||||||
services.journald.extraConfig = "MaxRetentionSec=1week";
|
services.journald.extraConfig = "MaxRetentionSec=4week";
|
||||||
|
|
||||||
# Scrub zpool monthly
|
# Scrub zpool monthly
|
||||||
services.zfs.autoScrub = {
|
services.zfs.autoScrub = {
|
||||||
|
|
Loading…
Reference in New Issue