mirror of
https://github.com/rootzoll/raspiblitz.git
synced 2025-02-23 22:47:03 +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'"
|
echo "WARN: Script Autostart not available for baseimage(${baseimage}) - may just run on 'headless'"
|
||||||
fi
|
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
|
# change log rotates
|
||||||
# see https://github.com/rootzoll/raspiblitz/issues/394#issuecomment-471535483
|
# see https://github.com/rootzoll/raspiblitz/issues/394#issuecomment-471535483
|
||||||
echo "
|
echo "
|
||||||
|
|
Loading…
Add table
Reference in a new issue