Open skrivy opened 5 years ago
By notifying supervisord::service
, puppet will restart the supervisord service on any config change. This should notify supervisord::reload
instead so that puppet issues a supervisorctl reread
and update
instead to avoid any downtime.
@quanghiem Feel free to update the PR.
@skrivy I don't think people can add commits to your PR.
Sorry for the slow reply guys
If @skrivy wants to close this and @quanghiem you want to propose a new PR based on this.
Problematic situation:
If we remove any
supervisord::program
block with this configuration, it's .conf file gets deleted, but supervisord process is not reloaded and removed program remains running.This patch reconfigures supervisord on the conf directory content change.