Skip to content

Remove running programs when configs are removed. - #126

Merged
ajcurated merged 2 commits into
ajcurated:masterfrom
quanghiem:master
Dec 7, 2018
Merged

Remove running programs when configs are removed.#126
ajcurated merged 2 commits into
ajcurated:masterfrom
quanghiem:master

Conversation

@quanghiem

Copy link
Copy Markdown
Contributor

When you remove a Supervisord program with param config_include_purge => true, the config file is removed but Supervisord isn't notified so the process is still running.

This change triggers supervisord::reload (reread and update) to remove the program.

Similar to PR #125, but does a supervisord::reload instead of a supervisors::service, which restarts the Supervisord daemon.

@ajcurated
ajcurated merged commit 4a3e080 into ajcurated:master Dec 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants