achirkin / qua-kit

Quick Urban Analysis Kit
MIT License
17 stars 8 forks source link

Helen config #62

Closed NorfairKing closed 6 years ago

NorfairKing commented 6 years ago

For #58

NorfairKing commented 6 years ago

I tested with this config:

bundled-services:
  - name: Test
    executable: echo
    args:
      - hello
      - world
  - name: Failer
    executable: 'false'

And got this nice output:

Helen is running on port 7654
[Info#Test] hello world
[Error#Failer] Failer failed with exit code 1, 3 restarts left.
[Info#Failer] restarting Failer
[Info#RegistrationService] Registered an instance of 'RemoteRegister' service.
[Info#RegistrationService] Registered an instance of 'RemoteDeregister' service.
[Error#Failer] Failer failed with exit code 1, 2 restarts left.
[Info#Failer] restarting Failer
[Error#Failer] Failer failed with exit code 1, 1 restarts left.
[Info#Failer] restarting Failer
[Info#RegistrationService] Registered an instance of 'ServiceList' service.
[Info#RegistrationService] Registered an instance of 'ServiceInfo' service.
[Info#RegistrationService] Registered an instance of 'FilterServices' service.
[Error#Failer] Failer failed with exit code 1, 0 restarts left.