我现在把项目部署到腾讯云上,但是我一把SecureCRT关掉,程序的服务也关掉了。我想请问一下有没有像Express可以用forever让服务一直在后台运行的模块呢?thx!
学习是最好的投资!
This has nothing to do with express or koa. You can also start or use pm2 forever
There is a very convenient method: When deploying a web program on the server, just execute the start web service command in the background. For example: node server.js &
Please use the dedicated module for node server deployment: pm2
pm2
In the development and testing phase, I use screen, and then nodemon inside
Linux system integration systemd
supervisor
pm2 vs StrongLoop vs Forever
This has nothing to do with express or koa. You can also start or use pm2 forever
There is a very convenient method:
When deploying a web program on the server, just execute the start web service command in the background.
For example: node server.js &
Please use the dedicated module for node server deployment:
pm2
In the development and testing phase, I use screen, and then nodemon inside
Linux system integration systemd
supervisor
pm2 vs StrongLoop vs Forever