Rocket.Chat icon indicating copy to clipboard operation
Rocket.Chat copied to clipboard

use pm2 instead of forever service

Open jy2008 opened this issue 10 years ago • 0 comments

see tutorial https://www.digitalocean.com/community/tutorials/how-to-install-configure-and-deploy-rocket-chat-on-ubuntu-14-04 step 4, it used forever service. Can i use PM2? since hubot RC adapter is using PM2 anyway, if so, can i just code it in as the following? let me know if there is anything wrong with the code:

sudo npm install pm2 -g cd Rocket.Chat pm2 start rocket.chat sudo env PATH=$PATH:/usr/local/bin pm2 startup -u safeuser

jy2008 avatar Oct 14 '16 19:10 jy2008