mirror of
https://github.com/rootzoll/raspiblitz.git
synced 2025-02-23 14:40:45 +01:00
parent
9ebf9c63a5
commit
9d3e4faf3d
1 changed files with 12 additions and 0 deletions
|
@ -76,6 +76,18 @@ do
|
|||
continue
|
||||
fi
|
||||
|
||||
####################################################
|
||||
# MONITOR LOG SIZES
|
||||
# https://github.com/rootzoll/raspiblitz/issues/2659
|
||||
####################################################
|
||||
|
||||
# once a day 5 minutes
|
||||
recheckLogs=$((($counter % 86400)+2))
|
||||
if [ ${recheckLogs} -eq 1 ]; then
|
||||
echo "*** MONITOR LOG SIZES ***"
|
||||
journalctl --vacuum-size=100M
|
||||
fi
|
||||
|
||||
####################################################
|
||||
# RECHECK DHCP-SERVER
|
||||
# https://github.com/rootzoll/raspiblitz/issues/160
|
||||
|
|
Loading…
Add table
Reference in a new issue