From e42df7fb9d4a6539ab9e793944251f2c67ea9c15 Mon Sep 17 00:00:00 2001 From: Max Krummenacher Date: Fri, 7 Jun 2013 22:38:12 +0200 Subject: systemd-journald: limit journal size --- recipes-core/systemd/systemd/journald-conf.patch | 13 +++++++++++++ recipes-core/systemd/systemd_git.bbappend | 7 +++++++ 2 files changed, 20 insertions(+) create mode 100644 recipes-core/systemd/systemd/journald-conf.patch create mode 100644 recipes-core/systemd/systemd_git.bbappend (limited to 'recipes-core') 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 \ +" -- cgit v1.2.3