mirror of
https://github.com/mynodebtc/mynode.git
synced 2025-01-11 11:29:27 +00:00
Prevent more out of space issues in var/log during RP4 upgrades
This commit is contained in:
parent
53911ec1d7
commit
41e8916753
|
@ -15,6 +15,10 @@ date
|
|||
# Delete ramlog to prevent ram issues (remake necessary folders)
|
||||
rm -rf /var/log/*
|
||||
mkdir -p /var/log/nginx
|
||||
if [ $IS_RASPI = 1 ]; then
|
||||
log2ram write || true
|
||||
log2ram stop || true
|
||||
fi
|
||||
|
||||
# Create any necessary users
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user