diff --git a/scripts/publish_pm2_cpp_i_n/boundle.sh b/scripts/publish_pm2_cpp_i_n/boundle.sh index 8ec168a..0b2bf2a 100644 --- a/scripts/publish_pm2_cpp_i_n/boundle.sh +++ b/scripts/publish_pm2_cpp_i_n/boundle.sh @@ -13,4 +13,4 @@ tag_name=`git status |grep '# On branch '|sed 's/# On branch //g'` dir_name=`basename $PWD` package_name=${dir_name}.tar.gz -tar --exclude=*.git -chzf target/${package_name} bin common.sh reload.sh restart.sh config ${EXT_PKG_FILES} +tar --exclude=*.git -chzf target/${package_name} bin common.sh reload.sh restart.sh ecosystem.config.js config ${EXT_PKG_FILES} diff --git a/scripts/publish_pm2_cpp_i_n/restart.sh b/scripts/publish_pm2_cpp_i_n/restart.sh index 3e80fba..7d71d76 100755 --- a/scripts/publish_pm2_cpp_i_n/restart.sh +++ b/scripts/publish_pm2_cpp_i_n/restart.sh @@ -1,12 +1,11 @@ #!/bin/bash -#source ./common.sh +source ./common.sh -#ps -ef|grep ${PROJECT_NAME} > bin/ps.log +ps -ef|grep ${PROJECT_NAME} > bin/ps.log instances=(${1//,/ }) n=$2 -PROJECT_NAME=wsproxy2004 for i in ${instances[@]} do