Can we configure restart_on
for a process?
#247
-
Use case: I don’t see any straightforward way to configure this for now, is this worth exploring as a new feature? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Hey @shivaraj-bh, Can you elaborate a bit more on the reason for A's restart? I asking because I am considering if something like liveness probe can help here. |
Beta Was this translation helpful? Give feedback.
-
I also need this. adding a restarted that’s controlled via rpc will do it . It will need to know what’s running and the version of each , so it can check , then restart the binary in question. |
Beta Was this translation helpful? Give feedback.
That clears things up.
Another question - how do you restart A? Do you do it manually? Externally or through Process Compose?
Is it possible to add another process to PC, let's call it "restarter" that will call
process-compose process restart A && process-compose process restart B
?