Revert "fix: Stop all process before sending SIGTERM to supervisor. (#2422)"

This reverts commit 3778a7abb1ac7c603288735547821f6610da07be.
This commit is contained in:
Steven Achilles 2021-12-10 08:18:03 +01:00
parent 3778a7abb1
commit 75a0595dfc

View File

@ -21,7 +21,6 @@ case ${1} in
/usr/bin/supervisord -nc /etc/supervisor/supervisord.conf &
SUPERVISOR_PID=$!
migrate_database
/usr/bin/supervisorctl stop all
kill -15 $SUPERVISOR_PID
if ps h -p $SUPERVISOR_PID > /dev/null ; then
wait $SUPERVISOR_PID || true