Skip to content

Run with PM2

Vitor edited this page Mar 10, 2018 · 4 revisions

Run Lounge with PM2 & CentOS 7

With PM2 Lounge will run continuously.

Install PM2 with

npm install pm2@latest -g

start Lounge with PM2

sudo pm2 start /usr/local/bin/lounge -- start

If you're running Lounge from source (as it doesn't create an executable), type the following inside the git cloned folder, after all the installation procedure being completed

pm2 start node -- index start

If you want to start even with the host restart then do this.

sudo pm2 startup systemd

Thats it!