Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

install: configs: Add first version #2796

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions install/configs/journald.conf
Original file line number Diff line number Diff line change
@@ -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
3 changes: 3 additions & 0 deletions install/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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."
Expand Down