Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

NodeJS app restart

Discussion in 'General Discussion' started by Neso, Jun 15, 2018.

Tags:
  1. Neso

    Neso Active Member

    Joined:
    Feb 11, 2009
    Messages:
    28
    Likes Received:
    0
    Trophy Points:
    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.
     
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,195
    Likes Received:
    1,936
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice