diff options
author | Yaroslav <contact@yaroslavps.com> | 2020-02-19 15:23:41 +0300 |
---|---|---|
committer | Yaroslav <contact@yaroslavps.com> | 2020-02-19 15:23:41 +0300 |
commit | 06fbe7de34767fa62e15468db4abe36ac28fd90f (patch) | |
tree | 9a6d8225d98ca98e3f7656adde194b023c28b726 | |
parent | c61ed972172cd77608648cb415d0a4ee0638d9d7 (diff) | |
download | swayrice-06fbe7de34767fa62e15468db4abe36ac28fd90f.tar.gz swayrice-06fbe7de34767fa62e15468db4abe36ac28fd90f.zip |
config for limiting journald log size
-rwxr-xr-x | install.sh | 1 | ||||
-rw-r--r-- | system/systemd/journald.conf | 43 |
2 files changed, 44 insertions, 0 deletions
@@ -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 |