mirror of
https://github.com/rootzoll/raspiblitz.git
synced 2025-02-23 14:40:45 +01:00
limit journald system use
This commit is contained in:
parent
b41c3c7c4f
commit
872e87a937
1 changed files with 4 additions and 0 deletions
|
@ -425,6 +425,10 @@ else
|
|||
echo "WARN: Script Autostart not available for baseimage(${baseimage}) - may just run on 'headless'"
|
||||
fi
|
||||
|
||||
# limit journald system use
|
||||
sudo sed -i "s/^#SystemMaxUse=.*/SystemMaxUse=250M/g" /etc/systemd/journald.conf
|
||||
sudo sed -i "s/^#SystemMaxFileSize=.*/SystemMaxFileSize=50M/g" /etc/systemd/journald.conf
|
||||
|
||||
# change log rotates
|
||||
# see https://github.com/rootzoll/raspiblitz/issues/394#issuecomment-471535483
|
||||
echo "
|
||||
|
|
Loading…
Add table
Reference in a new issue