Merge pull request #2468 from sachilles/revert-supervisor-fix-2422

Revert "fix: Stop all process before sending SIGTERM to supervisor. (#2422)"
This commit is contained in:
Steven Achilles 2021-12-10 08:56:07 +01:00 committed by GitHub
commit 339b357b6a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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