aboutsummaryrefslogtreecommitdiff
path: root/system/systemd/journald.conf
diff options
context:
space:
mode:
authorYaroslav <contact@yaroslavps.com>2020-02-19 15:23:41 +0300
committerYaroslav <contact@yaroslavps.com>2020-02-19 15:23:41 +0300
commit06fbe7de34767fa62e15468db4abe36ac28fd90f (patch)
tree9a6d8225d98ca98e3f7656adde194b023c28b726 /system/systemd/journald.conf
parentc61ed972172cd77608648cb415d0a4ee0638d9d7 (diff)
downloadswayrice-06fbe7de34767fa62e15468db4abe36ac28fd90f.tar.gz
swayrice-06fbe7de34767fa62e15468db4abe36ac28fd90f.zip
config for limiting journald log size
Diffstat (limited to 'system/systemd/journald.conf')
-rw-r--r--system/systemd/journald.conf43
1 files changed, 43 insertions, 0 deletions
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