systemd: add bbappend to install a custom journald.conf
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
This commit is contained in:
33
recipes-core/systemd/systemd/journald.conf
Normal file
33
recipes-core/systemd/systemd/journald.conf
Normal 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
|
||||
7
recipes-core/systemd/systemd_206.bbappend
Normal file
7
recipes-core/systemd/systemd_206.bbappend
Normal file
@@ -0,0 +1,7 @@
|
||||
FILESEXTRAPATHS := "${THISDIR}/${PN}"
|
||||
|
||||
SRC_URI += "file://journald.conf"
|
||||
|
||||
do_install_append() {
|
||||
cp ${WORKDIR}/journald.conf ${D}${sysconfdir}/systemd
|
||||
}
|
||||
Reference in New Issue
Block a user