kostya / eye

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

Idempotence of `eye load` #200

Closed msabdeljalil closed 7 years ago

msabdeljalil commented 7 years ago

I'm trying to load an eye config with multiple services, but I might not always want all those services to start when I load the config. Additionally, this behavior only occurs on first load - subsequent calls to eye load do not start the services the way the first call does.

To overcome this problem, one currently has to create separate eye applications for what would otherwise be just multiple processes within a single application.

Might It might make sense to separate this functionality?

kostya commented 7 years ago

try:

Eye.app :bla do
  auto_start false
end
msabdeljalil commented 7 years ago

Yep that works! Ty!