-
Notifications
You must be signed in to change notification settings - Fork 82
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
Allow specifying 'all' for process auto restarts #154
Conversation
Hey @DarthSim! If you have a chance could you look this over? Thanks! |
@dunkmann00 Thanks for this pr! Look at line 96 Line 96 in 7d97057
They use a boolean to indicate all can die, not |
Thanks @oofdog! Like I said in my initial comment of this PR, after seeing the suggestion in #153, I thought using Just to add some more detail - From the Readme:
IMHO, I think changing P.S. Here is where formation is handled in the code: Lines 43 to 48 in 7d97057
|
Hey @DarthSim! Just wanted to reach out again and see if this PR looks good to you. Thanks! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is elegant! @mrexox, wdyt?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Envek , agree!
Thanks! |
This closes #153
I ended up going with the suggestion for specifying that all processes should auto restart by passing in
all
, i.e.overmind start -r all
rather than adding another flag that is specifically for auto restarting all, i.e.overmind start --auto-restart-all
. I thought this was slightly more intuitive, especially since this is how settingformation
is already handled.Let me know what you think!