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

PM2 doesn't respect status flag upon resurrect #2654

Closed
natcl opened this issue Jan 24, 2017 · 4 comments
Closed

PM2 doesn't respect status flag upon resurrect #2654

natcl opened this issue Jan 24, 2017 · 4 comments

Comments

@natcl
Copy link
Contributor

natcl commented Jan 24, 2017

If reporting a bug, please use the following template.

Expected behaviour

If I stop some processes and dump/save I expect those processes to be stopped when I restart the computer.

Actual behaviour

If I stop some processes then run pm2 dump and restart the computer, the stopped processed will be in online mode upon restart even though the status is still at stopped in the dump file.

Steps to reproduce

  1. Add some processes
  2. Stop some processes
  3. Dump/Save
  4. Restart computer
  5. All processes are online

Software versions used

OS         : Windows 10
node.js    : 4.7.0
PM2        : 2.3.0

PM2 Log output

Use the command: tail --lines 50 ~/.pm2/pm2.log

...

cf CONTRIBUTING.md for more informations

@BarryCarlyon
Copy link

I just discovered this bug and it's frankly annoying.

Hopefully fixed soon?

@vmarchaud
Copy link
Contributor

We don't plan to fix this one before March so feel free to make a PR for it (link to relevant code )

@shubs
Copy link
Contributor

shubs commented Mar 16, 2017

+1

@Unitech
Copy link
Owner

Unitech commented May 28, 2019

landing on 4.x

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants