nohup方式启动服务器

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/themagickeyjianan/article/details/86546969

start_all.sh

nohup node ./account_server/app.js ../configs.js &
nohup node ./hall_server/app.js ../configs.js &
nohup node ./game_server/app.js ../configs.js &

这样可以一下子启动多个服务器

nohup文件 

猜你喜欢

转载自blog.csdn.net/themagickeyjianan/article/details/86546969