diff options
author | Max Krummenacher <max.krummenacher@toradex.com> | 2013-06-07 22:38:12 +0200 |
---|---|---|
committer | Max Krummenacher <max.krummenacher@toradex.com> | 2013-06-07 22:38:12 +0200 |
commit | e42df7fb9d4a6539ab9e793944251f2c67ea9c15 (patch) | |
tree | 4b4734529f5ede370294bc8ff7971e27fd6c06e4 /recipes-core | |
parent | 4b3b70bd8b41ca00e7d75e05dba365fac9f1eaaa (diff) |
systemd-journald: limit journal size
Diffstat (limited to 'recipes-core')
-rw-r--r-- | recipes-core/systemd/systemd/journald-conf.patch | 13 | ||||
-rw-r--r-- | recipes-core/systemd/systemd_git.bbappend | 7 |
2 files changed, 20 insertions, 0 deletions
diff --git a/recipes-core/systemd/systemd/journald-conf.patch b/recipes-core/systemd/systemd/journald-conf.patch new file mode 100644 index 0000000..2c3a8c9 --- /dev/null +++ b/recipes-core/systemd/systemd/journald-conf.patch @@ -0,0 +1,13 @@ +--- ./git/src/journal/journald.conf.orig 2013-06-07 21:34:52.256187412 +0200 ++++ ./git/src/journal/journald.conf 2013-06-07 21:50:43.089914926 +0200 +@@ -13,8 +13,8 @@ + #Seal=yes + #RateLimitInterval=10s + #RateLimitBurst=200 +-#SystemMaxUse= +-#SystemKeepFree= ++SystemMaxUse=10M ++SystemKeepFree=30M + #SystemMaxFileSize= + #SystemMinFileSize= + #RuntimeMaxUse= diff --git a/recipes-core/systemd/systemd_git.bbappend b/recipes-core/systemd/systemd_git.bbappend new file mode 100644 index 0000000..b93053e --- /dev/null +++ b/recipes-core/systemd/systemd_git.bbappend @@ -0,0 +1,7 @@ +PRINC = "4" + +FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" + +SRC_URI += " \ + file://journald-conf.patch \ +" |