-
Notifications
You must be signed in to change notification settings - Fork 945
New issue
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
Forever not seeing scripts that were started, nor able to STOP or LIST them #562
Comments
I'm experiencing this as well, any ideas? I'm calling it from a Centos service. After i start it I see nothing from "forever list" whether i run it on the console, or the actual service itself the line after forever start. |
I'm also having the same issue. 11:00 AM ansible@proxy$ sudo service npm-lazy-mirror start 11:00 AM ansible@proxy$ ps aux | grep node |
This is probably not the problem you see but for others finding this issue it is good to know that forever list will not find processes started as another user. If you start a process with user foo then running forever list as root will not show the started process. I don't know how forever handles processes that changes user after they have started though... |
This is basically a duplicate of #544. |
I've created a Linux service that uses forever to start my node script.
My command line is as follows, with the tokens expanded properly:
${FOREVER} start -l "${LOG_FILE}" -a --spinSleepTime 5000 --minUptime 1000 --pidFile "${PIDFILE}" "${SCRIPT_PATH}" --profile="bob"
I can start the script, and it returns with a
info: Forever processing file: myawesomescript.js
However immediately after that, it does not list them in 'forever list' nor registers that it should be stopped when I do 'forever stopall'.
I confirmed using ps that the process is still active. Forever just doesn't see it.
Any idea?
The text was updated successfully, but these errors were encountered: