Closed lapineige closed 1 year ago
I need help from @YunoHost-Apps/apps-group team please: how can I add the logrotate config on upgrade ? Is it safe to do it all the time even if it exists already ? Thanks :pray:
See: https://github.com/YunoHost-Apps/pixelfed_ynh/blob/testing/scripts/upgrade#L251
Laravel log file is huge after a while, because it's never cleaned up. It's already 22kB after first running Pixelfed.
We should implement logrotate to save storage space.
File to logrotate :
/var/www/pixelfed/storage/logs/laravel.log