kostya / eye

Process monitoring tool. Inspired from Bluepill and God.
MIT License
1.19k stars 89 forks source link

How to load the processes without starting them? #242

Closed matheusvetor closed 10 months ago

matheusvetor commented 10 months ago

Hi, i do have a collection of rails apps running together inside one docker container and orchertrated by eye. Each rails app has a bunch of rake commands that i need to keep running. So I have one god file to tell to eye all processes it need to run. My issue is: I have too much rake commands and i dont want them to start automatically with eye, only be available to start manually with eye start <rake task name>

Like example below, i only need to start automatically the rails apps

app1
  rails ............... starting
  rake_task ....... starting
  rake_task ........ starting
  rake_task ... starting
app2
  rails .................. starting
app3
  rails ............... starting
  rake_task ....... starting
  rake_task ........ starting
  rake_task ... starting
app4
  rails ............... starting
  rake_task ....... starting
  rake_task ........ starting
  rake_task ... starting
app5
  rails ............... starting
  rake_task ....... starting
  rake_task ........ starting
  rake_task ... starting
app6
  rails ............... starting
  rake_task ....... starting
  rake_task ........ starting
  rake_task ... starting
kostya commented 10 months ago

you can enable option chain: example: https://github.com/kostya/eye/blob/master/examples/thin-farm.eye#L23C45-L23C45 or set auto_start false

matheusvetor commented 10 months ago

Thanks.