systemd: add bbappend to install a custom journald.conf

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
This commit is contained in:
Koen Kooi
2013-09-09 12:30:09 +02:00
parent fbf99531d4
commit 7eafd7fac3
2 changed files with 40 additions and 0 deletions

View File

@@ -0,0 +1,33 @@
# 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.
#
# See journald.conf(5) for details
[Journal]
#Storage=auto
#Compress=yes
#Seal=yes
#SplitMode=login
#SyncIntervalSec=5m
#RateLimitInterval=30s
#RateLimitBurst=1000
SystemMaxUse=16M
#SystemKeepFree=
#SystemMaxFileSize=
#RuntimeMaxUse=
#RuntimeKeepFree=
#RuntimeMaxFileSize=
#MaxRetentionSec=
#MaxFileSec=1month
#ForwardToSyslog=yes
#ForwardToKMsg=no
#ForwardToConsole=no
#TTYPath=/dev/console
MaxLevelStore=info
MaxLevelSyslog=info
#MaxLevelKMsg=notice
#MaxLevelConsole=info

View File

@@ -0,0 +1,7 @@
FILESEXTRAPATHS := "${THISDIR}/${PN}"
SRC_URI += "file://journald.conf"
do_install_append() {
cp ${WORKDIR}/journald.conf ${D}${sysconfdir}/systemd
}