4 Run with PM2
Vitor edited this page 2018-03-10 10:42:17 +01:00

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!