guvnor
guvnor copied to clipboard
Guvnor doesn't restart automatically
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.
Do you mean to say your process did a process.exit(0)
or similar?
Exactly
Do you have any update here? Does auto-restart feature work?
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.