Neso

Active Member
Feb 11, 2009
29
0
51
Hi, can anybody tell me how can I setup on my server for specific cPanel user for NodeJS app to restart ... example if server is restarted or if something kill NodeJS app, it never restart, I presume I need to enable something, setup, from root side, but what command I need to use.

Any help would be great.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,912
2,241
363
Hello @Neso,

Node.js isn't supported with cPanel & WHM at this time, however you can monitor the progress for it's inclusion with the product at:

nodejs Hosting

Note that if you are open to purchasing CloudLinux, it offers support for Node.js on cPanel & WHM with it's Node.js Selector feature:

CloudLinux — Node.js Selector FAQ

As far as unsupported configurations, restarting the app really depends on how you have installed and configured NodeJS. StackOverflow is likely a better resource for unsupported NodeJS installations. For example, here's a link you may find helpful:

How to auto-restart node app?

Thank you.