epazote / epazote

🌿 Automated HTTP (microservices) supervisor
https://epazote.io
BSD 3-Clause "New" or "Revised" License
32 stars 2 forks source link

add/remove services on demand #5

Open nbari opened 8 years ago

nbari commented 8 years ago

While scanning a dir for services:

/path/to/dir/
    service 1.yml
    service 2.yml

if service 2.yml is removed also remove it from the scheduler.

nbari commented 8 years ago

Since the scanner only parses the files based on the modification time, could be better to add a flag on the file something like: disable: true and when disable: false service name would be removed.