rstrouse / nodejs-poolController-dashPanel

A dashboard panel for tagyoureit/nodejs-poolController
37 stars 20 forks source link

Start with PM2 #21

Closed brentratliff closed 3 years ago

brentratliff commented 3 years ago

The wiki has a script that successfully starts poolController and the webClient. I am using dashPanel instead of webClient but it errors out when trying to start with PM2 when calling npm start from the dashPanel cwd. I'm sure it's a configuration difference in the script between webClient and dashPanel other than the cwd. Do you know anyone who has this working to post to the Wiki?

tagyoureit commented 3 years ago

I can add a section for dashPanel, but 'pm2 start dist/app.js' from the dashPanel Dir will get you there.

tagyoureit commented 3 years ago

See https://github.com/tagyoureit/nodejs-poolController/wiki/Automatically-start-at-boot---PM2-&-Systemd. Docs are updated.