Skip to content
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

Process doesn't know whether it's running or not: reports inconsistent results #40

Open
danwdart opened this issue Mar 2, 2016 · 0 comments

Comments

@danwdart
Copy link

danwdart commented Mar 2, 2016

$ grunt start
Running "forever:server:start" (forever) task
Attempting to start app/server.js as daemon.
Warning: app/server.js is already running. Use --force to continue.

$ grunt restart
Running "forever:server:stop" (forever) task
Attempting to stop app/server.js...
uid command script forever pid id logfile uptime
[0] 6jyh /usr/bin/nodejs app/server.js 26268 26397 /home/kvd/www/code/pcomm/logs/forever.out STOPPED

Error stopping app/server.js. [REASON] :: Error: Cannot stop process that is not running.
ERROR
Warning: Task "forever:server:stop" failed. Use --force to continue.

Can it please make up its mind?

@danwdart danwdart changed the title State conflicts Process doesn't know whether it's running or not: reports inconsistent results Mar 2, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant