Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Node.js Forever.js uptime stopped

I'm running a node script on my EC2 instance. I 'm using forever.js to run it because I'd like to run it even when I disconnect from my SSH connection.

I run:

forever start app.js

and then list running processes using:

forever list

and for uptime is says STOPPED no matter what I do.

ubuntu@ip-xx-xxx-xxx-xxx:~$ forever list
info:    Forever processes running
data:        uid  command             script          forever pid   id logfile                        uptime  
data:    [0] 79f1 /usr/local/bin/node app.js 17099   17100    /home/ubuntu/.forever/79f1.log STOPPED 
like image 877
tim peterson Avatar asked Aug 11 '15 00:08

tim peterson


1 Answers

You could just run forever logs yourfile.js to see logs. If you need to be sure that you are seen the right logs.

enter image description here

like image 150
Ricardo Mutti Avatar answered Sep 30 '22 19:09

Ricardo Mutti