From f4791880935af95d6961e62fed8097d947b52d48 Mon Sep 17 00:00:00 2001 From: Jonas Kaninda Date: Tue, 21 Jun 2022 20:02:29 +0200 Subject: [PATCH] Add Supervisord custom process number --- entrypoint.sh | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/entrypoint.sh b/entrypoint.sh index 6bed832..3abd28b 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -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