日志:处理日志保存数量、大小
This commit is contained in:
@@ -9,6 +9,7 @@ if [ $# != 2 ] ; then
|
||||
fi
|
||||
|
||||
npm install #安装依赖库
|
||||
cp ./channelService.js ./node_modules/pinus/dist/lib/common/service/channelService.js
|
||||
npm run build
|
||||
node pm2DistributeConfig.js ${1} ${2} #使用pm2来做进程管理,生成进程配置文件
|
||||
pm2 start pomeloPm2Start.json #pm2 启动游戏服务器
|
||||
|
||||
Reference in New Issue
Block a user