Limit journal size

This commit is contained in:
ItsDrike 2024-04-15 21:20:19 +02:00
parent 0a9742429d
commit 7a17948e90
Signed by: ItsDrike
GPG key ID: FA2745890B7048C0
3 changed files with 46 additions and 0 deletions

View file

@ -0,0 +1,9 @@
{
# Limit systemd journal size, as the default is unlimited and
# journals get big really fast
services.journald.extraConfig = ''
SystemMaxUse=100M
RuntimeMaxUse=50M
SystemMaxFileSize=50M
'';
}