armbian-build/packages/bsp/common/etc/cron.d
Dennis e5ab9389e9
Fix for journald filling /var/log using flush from volatile instead of copy, and removing cache files when nearly full (#3967)
* Fix to flush volatile journald to prevent full /var/log at startup

* re-introduce directory / in non-rsync copy, and exclude journal* in this copy
Note: this may need some testing if someone doesn't use rsync

* Fix for non-rsync copy to Disk, since journal cannot be copied onto itself

* Backed up journal files are removed with vacuum, so no need to delete them separately

* Make room at boot by removing old logs, in addition to the removal later
every 15 minutes

* remove old archived journal files modified more than 1 day ago

* make sure volatile logging is used, since journald sometimes turns persistent at boot
remove unused commented lines in ramlog

* Fix check for configured journald volatile logging

* revert #3799, the rsync --delete

Co-authored-by: dennis laptop <dennis@smartstatetechnolgy.nl>
Co-authored-by: Igor Pečovnik <igorpecovnik@users.noreply.github.com>
2022-08-10 09:02:03 +02:00
..
armbian-check-battery Automatic shutdown on low battery power (#3084) 2022-04-07 16:04:40 +02:00
armbian-truncate-logs Fix for journald filling /var/log using flush from volatile instead of copy, and removing cache files when nearly full (#3967) 2022-08-10 09:02:03 +02:00
armbian-updates Bsp services RFC (#1015) 2018-06-16 19:41:16 +02:00