Supervisor / supervisor

Supervisor process control system for Unix (supervisord)
http://supervisord.org
Other
8.38k stars 1.24k forks source link

SUPERVISOR_STATE_CHANGE_STOPPING event is not usable #1296

Open inso opened 4 years ago

inso commented 4 years ago

I'm not sure how events are working in Supervisor but here are my thoughts: even if there is the trigger of that event here, it is not dispatched, since events are buffered and there is no call to ProcessGroup.transition as done here.

a-waris commented 4 years ago

The SUPERVISOR_STATE_CHANGE_STOPPING is not being triggered upon stopping the supervisor. Example: sudo service supervisor stop. Though I do get the "stop" event's indication in supervisord.log. image