samedi 3 octobre 2015

node forever stops immediately on centos

I'm trying to get forever installed on a centos server I'm running on AWS and having no luck. When I run "forever start bin/www"

 warn:    --minUptime not set. Defaulting to: 1000ms
 warn:    --spinSleepTime not set. Your script will exit if it does not stay up for at least 1000ms
 info:    Forever processing file: bin/www

but as soon as I do that, if I run "forever list" I get

info:    Forever processes running
data:        uid  command             script  forever pid  id logfile                         uptime  
data:    [1] SvwP /usr/local/bin/node bin/www 5986    5987    /home/centos/.forever/SvwP.log STOPPED 

Anyone have any ideas? It's very frustrating, anything I have tried hasn't fixed it. Are there alternatives I could use to "forever"?




Aucun commentaire:

Enregistrer un commentaire