die Logs wachsen rasch auf mehrere hundert Megabyte. Hier wäre eine automatische Rotation gut. Das ist ein Linux Standardfeature.
es braucht eine Datei /etc/logrotate.d/solaranzeige mit folgendem Inhalt:
Code: Alles auswählen
/var/www/log/automation.log
/var/www/log/php.log
/var/www/log/solaranzeige.log
{
rotate 7
daily
missingok
notifempty
compress
}
Vielleicht kann man das ja in das allgemeine Image einfügen.