diff --git a/pi4/files/etc/systemd/journald.conf b/pi4/files/etc/systemd/journald.conf deleted file mode 100644 index bd0871e..0000000 --- a/pi4/files/etc/systemd/journald.conf +++ /dev/null @@ -1,47 +0,0 @@ -# This file is part of systemd. -# -# systemd is free software; you can redistribute it and/or modify it under the -# terms of the GNU Lesser General Public License as published by the Free -# Software Foundation; either version 2.1 of the License, or (at your option) -# any later version. -# -# Entries in this file show the compile time defaults. Local configuration -# should be created by either modifying this file, or by creating "drop-ins" in -# the journald.conf.d/ subdirectory. The latter is generally recommended. -# Defaults can be restored by simply deleting this file and all drop-ins. -# -# Use 'systemd-analyze cat-config systemd/journald.conf' to display the full config. -# -# See journald.conf(5) for details. - -[Journal] -#Storage=auto -#Compress=yes -#Seal=yes -#SplitMode=uid -#SyncIntervalSec=5m -#RateLimitIntervalSec=30s -#RateLimitBurst=10000 -SystemMaxUse=20M -#SystemKeepFree= -#SystemMaxFileSize= -#SystemMaxFiles=100 -#RuntimeMaxUse= -#RuntimeKeepFree= -#RuntimeMaxFileSize= -#RuntimeMaxFiles=100 -#MaxRetentionSec= -#MaxFileSec=1month -#ForwardToSyslog=no -#ForwardToKMsg=no -#ForwardToConsole=no -#ForwardToWall=yes -#TTYPath=/dev/console -#MaxLevelStore=debug -#MaxLevelSyslog=debug -#MaxLevelKMsg=notice -#MaxLevelConsole=info -#MaxLevelWall=emerg -#LineMax=48K -#ReadKMsg=yes -#Audit=yes diff --git a/pi4/files/etc/systemd/journald.conf.d/99-ramlog.conf b/pi4/files/etc/systemd/journald.conf.d/99-ramlog.conf new file mode 100644 index 0000000..d89ad6b --- /dev/null +++ b/pi4/files/etc/systemd/journald.conf.d/99-ramlog.conf @@ -0,0 +1,3 @@ +[Journal] +Storage=volatile +SystemMaxUse=20M