krig / koi

Cluster management software.
ISC License
10 stars 9 forks source link

Transit from started to failing #5

Closed yogarajbaskaravel closed 8 years ago

yogarajbaskaravel commented 8 years ago

'Stop' script was called before calling 'failed' script for a failed service. Hence, 'failed' script was limited to get any useful debug information. Fix is done to call 'failed' script first and then stop script for a failed service in started state. In other words, a failed service can transit form started to failing directly

krig commented 8 years ago

Sounds good to me, and the patch looks reasonable. Thanks!