6
0
mirror of https://github.com/ChristianLight/tutor.git synced 2024-12-12 06:07:56 +00:00

reload-gunicorn: look for python3 binary

This commit is contained in:
David Oviedo 2020-07-16 11:30:50 +02:00 committed by Régis Behmo
parent 90c5842c1c
commit ec95ea13cf

View File

@ -1,3 +1,3 @@
#! /bin/bash #! /bin/bash
echo "Reloading gunicorn process..." echo "Reloading gunicorn process..."
kill -HUP $(pidof /openedx/venv/bin/python2 /openedx/venv/bin/gunicorn) kill -HUP $(pidof /openedx/venv/bin/python3 /openedx/venv/bin/gunicorn)