teamplayer/stop-teamplayer: Call stop-stream *before* killing the pids.

This commit is contained in:
Albert Hopkins 2014-01-06 15:14:38 +00:00
parent 62e960d256
commit d8f0469929
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@ DJANGO_SETTINGS_MODULE="project.settings_local" ; export DJANGO_SETTINGS_MODULE
cd ~
$PYTHON manage.py stop_stream >> "/var/log/teamplayer/teamplayer.log"
[ -f "TP_DB/tps.pid" ] && kill $(cat "TP_DB/tps.pid")
[ -f "TP_DB/uwsgi.pid" ] && kill $(cat "TP_DB/uwsgi.pid")
$PYTHON manage.py stop_stream >> "/var/log/teamplayer/teamplayer.log"