Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit 411e1674 authored by Robert Nelson's avatar Robert Nelson
Browse files

systemd: limit journal to 8M


Signed-off-by: default avatarRobert Nelson <robertcnelson@gmail.com>
parent 8efcc4e3
Branches
Tags
No related merge requests found
......@@ -363,6 +363,12 @@ cat > ${DIR}/chroot_script.sh <<-__EOF__
fi
}
tweak_systemd () {
if [ -f /etc/systemd/systemd-journald.conf ] ; then
sed -i -e 's:#SystemMaxUse=:SystemMaxUse=8M:g' /etc/systemd/systemd-journald.conf
fi
}
set_locale () {
pkg="locales"
dpkg_check
......@@ -614,6 +620,7 @@ cat > ${DIR}/chroot_script.sh <<-__EOF__
install_pkg_updates
install_pkgs
tweak_systemd
set_locale
if [ "x${chroot_very_small_image}" = "xenable" ] ; then
run_deborphan
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment