how to remote start and keep running NodeBB
I install NodeBB with MongoDB in CentOS 7.2 by SSH.
(not use Nginx now)
It can setup NodeBB by the setup page.
But when I start NodeBB , it shows error message below:
Looks like your connection to NodeBB was lost, please wait while we try to reconnect.
I try "forever start app.js" , "./nodebb start", or use service according to the guide "https://docs.nodebb.org/configuring/running/"
but it 's the same problem.
I tried "./nodebb dev" , NodeBB works when I keep SSH console.
when I close SSH, NodeBB must be stopped, cause it has the same error message before I refresh.
how to do ? thanks
yes, it seems only service could get to work.
the "forever start app.js" or "./nodebb start"
because before i've changed url , but it has same error message.
when i changed to use service and change the url, it works.
so maybe only the way of config service could use in centos?