always chown webroot for better mounting
This commit is contained in:
@@ -39,7 +39,6 @@ if [ ! -d "${webroot}/.git" ]; then
|
|||||||
else
|
else
|
||||||
git clone $GIT_REPO $webroot
|
git clone $GIT_REPO $webroot
|
||||||
fi
|
fi
|
||||||
chown -Rf nginx.nginx /var/www/html
|
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@@ -85,5 +84,8 @@ if [[ "$TEMPLATE_NGINX_HTML" == "1" ]] ; then
|
|||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Always chown webroot for better mounting
|
||||||
|
chown -Rf nginx.nginx $webroot
|
||||||
|
|
||||||
# Start supervisord and services
|
# Start supervisord and services
|
||||||
/usr/bin/supervisord -n -c /etc/supervisord.conf
|
/usr/bin/supervisord -n -c /etc/supervisord.conf
|
||||||
|
|||||||
Reference in New Issue
Block a user