Skip to content

Commit

Permalink
fix: stop plugins before nginx stop (#621) (#624)
Browse files Browse the repository at this point in the history
Close: metwork-framework/mfservplugin_php#1
(cherry picked from commit 60f8ac5)

Co-authored-by: Jean-Baptiste VESLIN <19856429+thebaptiste@users.noreply.github.com>
  • Loading branch information
mergify[bot] and thebaptiste committed Apr 2, 2024
1 parent 60131c2 commit 7fd8323
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions adm/mfxxx.stop.custom
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@ if test "${MFSERV_AUTORESTART_FLAG}" = "1"; then
_circus_wait_watcher_stopped.sh conf_monitor || RES=1
_circus_wait_watcher_stopped.sh plugin:autorestart || RES=1
fi

{% endblock %}

{% block custom_after_plugins %}

if test "${MFSERV_NGINX_FLAG}" = "1"; then
_circus_schedule_stop_watcher.sh nginx
_circus_wait_watcher_stopped.sh nginx
Expand Down

0 comments on commit 7fd8323

Please sign in to comment.