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

Guvnor doesn't restart automatically #78

Open
Removed-5an opened this issue Oct 6, 2015 · 4 comments
Open

Guvnor doesn't restart automatically #78

Removed-5an opened this issue Oct 6, 2015 · 4 comments

Comments

@Removed-5an
Copy link

My application just quit without an exception (clean shut down). Guvnor did not restart the process automatically. There should be a flag / setting to make sure the process automatically restarts.

@achingbrain
Copy link
Member

Do you mean to say your process did a process.exit(0) or similar?

@Removed-5an
Copy link
Author

Exactly

@maZahaca
Copy link

Do you have any update here? Does auto-restart feature work?

@achingbrain
Copy link
Member

The auto-restart feature works but currently it'll only restart a process that exits with a non-zero exit code.

This is by design - the thought process being that if your process exits cleanly then it's finished the work it set out to do so probably shouldn't be restarted.

I'm not against changing it to restart any program that exits regardless of exit code but I'm not 100% convinced that's the right thing to do.

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

3 participants