foreversd/forever

forever hangs while running `forever stop node.js` , there is no timeout for this

Opened this issue · 1 comments

I am using node js script to start and stop. I am able to start server successfully,When I try to stop it then it is hanging and no time out for it to come out of it.
After running stop command when I see the forever list, my server is shown as STOPPED

data: [1] asNZ /Users/Test/.nvm/versions/node/v8.8.1/bin/node user_server.js 8375 10350 /Users/Test/Library/Logs/test/forever.log STOPPED

And then I have to run the command again to stop the server. Is there a way to timeout this stop.

I would recommend using pm2