From 06fbe7de34767fa62e15468db4abe36ac28fd90f Mon Sep 17 00:00:00 2001 From: Yaroslav Date: Wed, 19 Feb 2020 15:23:41 +0300 Subject: config for limiting journald log size --- install.sh | 1 + system/systemd/journald.conf | 43 +++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 44 insertions(+) create mode 100644 system/systemd/journald.conf diff --git a/install.sh b/install.sh index 53cf563..e19c049 100755 --- a/install.sh +++ b/install.sh @@ -23,6 +23,7 @@ cp systemd/hotspot.service /etc/systemd/system/ cp systemd/startupsound.service /etc/systemd/system/ cp system/plymouth/bgrt.plymouth /usr/share/plymouth/themes/bgrt/bgrt.plymouth cp system/pam.d/* /etc/pam.d/ +cp system/systemd/journald.conf /etc/systemd/journald.conf plymouth-set-default-theme -R bgrt diff --git a/system/systemd/journald.conf b/system/systemd/journald.conf new file mode 100644 index 0000000..a23318f --- /dev/null +++ b/system/systemd/journald.conf @@ -0,0 +1,43 @@ +# 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. +# You can change settings by editing this file. +# Defaults can be restored by simply deleting this file. +# +# See journald.conf(5) for details. + +[Journal] +Storage=auto +#Compress=yes +#Seal=yes +#SplitMode=uid +#SyncIntervalSec=5m +#RateLimitIntervalSec=30s +#RateLimitBurst=10000 +#SystemMaxUse= +#SystemKeepFree= +SystemMaxFileSize=1G +SystemMaxFiles=5 +#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 -- cgit v1.2.3