clear log files after 2 days
This commit is contained in:
parent
f6980cfa9c
commit
ea73f7c1ae
1 changed files with 3 additions and 0 deletions
|
@ -31,4 +31,7 @@
|
||||||
|
|
||||||
# needed for zsh.enableCompletion to work
|
# needed for zsh.enableCompletion to work
|
||||||
environment.pathsToLink = [ "/share/zsh" ];
|
environment.pathsToLink = [ "/share/zsh" ];
|
||||||
|
|
||||||
|
# see journald.conf(5)
|
||||||
|
services.journald.extraConfig = "MaxRetentionSec=2d";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue