Add Supervisord custom process number

This commit is contained in:
2022-06-21 20:02:29 +02:00
parent 90387daeda
commit f479188093

View File

@@ -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