From 7a985b4d0d9f650721361805d06514741f500d0e Mon Sep 17 00:00:00 2001 From: Benjamin Brummer Date: Mon, 29 Sep 2025 14:06:41 +0200 Subject: [PATCH] Remove redundant package discovery command from production setup --- debian/scripts/init.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/debian/scripts/init.sh b/debian/scripts/init.sh index 79824de..026003b 100755 --- a/debian/scripts/init.sh +++ b/debian/scripts/init.sh @@ -41,7 +41,6 @@ if [ "$*" = 'supervisord -c /etc/supervisor/supervisord.conf' ]; then # Clear and cache config in production if [ "$APP_ENV" = "production" ]; then - runuser -u www-data -- php artisan package:discover runuser -u www-data -- php artisan migrate --force runuser -u www-data -- php artisan cache:clear # Clear after the migration runuser -u www-data -- php artisan ninja:design-update