Is there a way to pass an array of ports to the setup process ?
some thing like this node app --setup -port="[4567, 4568, 4569]"
Currently I am deploying with Git Hooks into the virtual machine of my web hosting. The last commands I've included in the automated deployment are:
cd /home/nestor/nodebb ./nodebb stop ./nodebb start
Once restarted, the last command
start does not finish, I mean, the command line is not available after that, but the
start seems to have been worked completely. Why is this happening? Why it seems like such command is never finished? If I introduce manually such commands they work good, fast, but if done automated with Git Hooks, then that happens.
Any help, please? I am still having this problem. Thank you!
Are you sure it's the
start that's not finishing and not your automation?
This may not work but could be worth looking into.
cd /home/nestor/nodebb ./nodebb stop ./nodebb start exit 0