diff --git a/pixelfed/pixelfed-garbage b/pixelfed/pixelfed-garbage index 2f2a762..7950e00 100755 --- a/pixelfed/pixelfed-garbage +++ b/pixelfed/pixelfed-garbage @@ -2,4 +2,7 @@ set -xe -pixelfed 'php artisan schedule:run' +pixelfed 'php artisan media:optimize' +pixelfed 'php artisan media:gc' +pixelfed 'php artisan horizon:snapshot' +pixelfed 'php artisan story:gc' diff --git a/pixelfed/pixelfed-startup b/pixelfed/pixelfed-startup index 5e4c54f..be5ad46 100755 --- a/pixelfed/pixelfed-startup +++ b/pixelfed/pixelfed-startup @@ -12,7 +12,6 @@ pixelfed 'php artisan horizon:install' pixelfed 'php artisan horizon:assets' pixelfed 'php artisan route:cache' pixelfed 'php artisan view:cache' -pixelfed 'php artisan media:optimize' pixelfed 'php artisan optimize' exec "$@"