修改目录结构, 添加文档
This commit is contained in:
11
adapter/http_adapter/script/deploy.sh
Normal file
11
adapter/http_adapter/script/deploy.sh
Normal file
@@ -0,0 +1,11 @@
|
||||
SAPP_RUN=$1
|
||||
if [ "${SAPP_RUN}" = "" ]; then
|
||||
echo "USAGE: sh build_rpm.sh sapp_path" && exit 0
|
||||
fi
|
||||
mkdir -p $SAPP_RUN/plug/business/http_adapter
|
||||
/bin/cp -f adapter/libhttp_adapter.so $SAPP_RUN/plug/business/http_adapter/libhttp_adapter.so
|
||||
/bin/cp -f ../adapter/http_adapter/conf/http_adapter.inf $SAPP_RUN/plug/business/http_adapter/http_adapter.inf
|
||||
/bin/cp -rf ../adapter/http_adapter/lua $SAPP_RUN/plug
|
||||
mkdir -p $SAPP_RUN/log/lua_sapp/http_adapter/lua/
|
||||
cat $SAPP_RUN/plug/business/conflist_business.inf | grep "http_adapter.inf" >/dev/null 2>&1 && exit
|
||||
echo ./plug/business/http_adapter/http_adapter.inf >> $SAPP_RUN/plug/business/conflist_business.inf
|
||||
Reference in New Issue
Block a user