diff --git a/install/configs/journald.conf b/install/configs/journald.conf new file mode 100644 index 0000000000..71c0a44083 --- /dev/null +++ b/install/configs/journald.conf @@ -0,0 +1,15 @@ +# BlueOS journal systemd file. +# +# Entries in this file show the compile time defaults. Local configuration +# should be created by either modifying this file (or a copy of it placed in +# /etc/ if the original file is shipped in /usr/), or by creating "drop-ins" in +# the /etc/systemd/journald.conf.d/ directory. The latter is generally +# recommended. Defaults can be restored by simply deleting the main +# configuration file and all drop-ins located in /etc/. +# +# Use 'systemd-analyze cat-config systemd/journald.conf' to display the full config. +# +# See journald.conf(5) for details. + +[Journal] +SystemMaxUse=200M diff --git a/install/install.sh b/install/install.sh index 734ee9d3a1..c015fb61d8 100755 --- a/install/install.sh +++ b/install/install.sh @@ -91,6 +91,9 @@ else echo "Skipping hardware configuration" fi +echo "Configure journald." +curl -fsSL "$ROOT/install/configs/journald.conf" -o /etc/systemd/journald.conf + # There are systems where rfkill does not exist, like SBC without wifi/BT command -v rfkill && ( echo "Checking for blocked wifi and bluetooth."