nodejitsu/forever — Issue #170: forever start <script.js> differs from forever <script.js>
Author: mikosh75
Created: 2011-11-23 13:51:55+00:00
State: open

hello
sorry for title, i can explain:
node installed verison 0.6.2
If i start a script with

forever script.js

it starts node and runs script. In fact if i run

forever list

this is output

info: Forever processes running
data: uid command script forever pid logfile uptime
data: [0] fyio node app.js 8832 8835 /home/ec2-user/.forever/fyio.log 0:0:0:13.492

But the strange behaviour is when i run

forever start script.js

it starts node and runs script, but if i run

forever list

this is output

info: No forever processes running

but process is running!
from ps axfw i see following lines:

ec2-user 8874 0.0 1.7 726088 10608 ? Ss 13:38 0:00 node /usr/local/bin/forever start app.js
ec2-user 8875 0.4 1.9 656500 12096 ? Sl 13:38 0:00 \_ node /home/ec2-user/www/app.js

i noticed that in this case (when i run forever start script.js) in folder .forever/sock/ is not created .sock file...

First i tried with forever 0.7.2, and after, i tried also with latest version taken from git ( version nodejitsu-forever-4ae63d0), but i've the same issue...

if you need some more information, please ask
regards
mikosh

PS: thanks for this great piece of software!