We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi,
I have 2 node apps running. Both have app.js file in their root folder. I run them with
app.js
forever -o log/app.log -e log/app.err.log start app.js
It works properly. But, if i step in to any one of the app's root folder & do forever stop app.js, forever kills both the app's.
forever stop app.js
So every time, If I want to restart any app, I am ending up in restarting both app's.
What is the solution for this?
$ uname -a Linux xxxxx 3.10.10-200.fc19.x86_64 #1 SMP Thu Aug 29 19:05:45 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux $ node -v v0.10.18 $ forever -v v0.10.8
Thank you!
The text was updated successfully, but these errors were encountered:
the same question of you. who can answer us.. thank you.
Sorry, something went wrong.
you can kill the processes by their id
forever list will output a list of running processes
forever list
data: uid command script forever pid logfile uptime data: [0] yoNQ /usr/bin/nodejs app.js 2084 2090 /var/log/node/app1.log 5:15:9:23.577 data: [1] lYCi /usr/bin/nodejs app.js 22492 22545 /var/log/node/app2.log 0:0:0:0.821
You can kill the process pid 22545 with forever stop 1. You can also use forever stop lYCi
forever stop 1
forever stop lYCi
Thanks @egmont1227 that's the answer :)
No branches or pull requests
Hi,
I have 2 node apps running. Both have
app.js
file in their root folder. I run them withforever -o log/app.log -e log/app.err.log start app.js
It works properly. But, if i step in to any one of the app's root folder & do
forever stop app.js
, forever kills both the app's.So every time, If I want to restart any app, I am ending up in restarting both app's.
What is the solution for this?
$ uname -a
Linux xxxxx 3.10.10-200.fc19.x86_64 #1 SMP Thu Aug 29 19:05:45 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
$ node -v
v0.10.18
$ forever -v
v0.10.8
Thank you!
The text was updated successfully, but these errors were encountered: