mirror of
https://github.com/jkaninda/laravel-php-fpm.git
synced 2025-12-06 17:09:39 +01:00
Add Supervisord custom process number
This commit is contained in:
@@ -68,15 +68,19 @@ echo "Checking if storage directory exists"
|
||||
echo "Directory $STORAGE_DIR exist. Fixing permissions..."
|
||||
chown -R www-data:www-data $STORAGE_DIR
|
||||
chmod -R 775 $STORAGE_DIR
|
||||
echo "${Green} Permissions fixed"
|
||||
echo "${Green}Permissions fixed"
|
||||
|
||||
else
|
||||
echo "${Red} Directory $STORAGE_DIR does not exist"
|
||||
echo "Fixing permissions from $WORKDIR"
|
||||
chown -R www-data:www-data $WORKDIR/storage
|
||||
chmod -R 775 $WORKDIR/storage
|
||||
echo "${Green} Permissions fixed"
|
||||
echo "${Green}Permissions fixed"
|
||||
fi
|
||||
|
||||
echo ""
|
||||
echo "**********************************"
|
||||
echo " Starting Supervisord... "
|
||||
echo "***********************************"
|
||||
supervisord -c /etc/supervisor/supervisord.conf
|
||||
|
||||
|
||||
Reference in New Issue
Block a user