logico / vestacp-nodejs

Run automatically Node.JS apps in VestaCP.
114 stars 68 forks source link

How to correctly start node js application? #13

Open jsparrow2006 opened 4 years ago

jsparrow2006 commented 4 years ago

Thanks a lot for your work. I have a question. At what point should the NodeJS.sh file run? My node js application only starts if I manually launch the .sh file. How can I debug the application startup? How to restart the application correctly?

IRediTOTO commented 4 years ago

I want to know too 👍

OMARCITO007 commented 3 years ago

Agradezco su gran trabajo. Ejecuté las indicaciones en mi servidor. Cuando seleccionaba NodeJS, NGINX dejaba de funcionar por más que reinicie y eso afectaba a las otras web alojadas.

islam-Ellithy commented 3 years ago

You can debug by writing the following command

wget http://localhost:3000

Lucksmith369 commented 3 years ago

Check the .pm2 dir in the user folder 😉