teamplayer: fix stop-teamplayer script
It was still calling "manage.py stop_steam" but "stop_stream" was renamed to "shutdown"
This commit is contained in:
parent
48cb7905e9
commit
06a71843b1
|
@ -9,7 +9,7 @@ DJANGO_SETTINGS_MODULE="project.settings_local" ; export DJANGO_SETTINGS_MODULE
|
||||||
|
|
||||||
cd ~
|
cd ~
|
||||||
|
|
||||||
$PYTHON manage.py stop_stream >> "/var/log/teamplayer/teamplayer.log"
|
$PYTHON manage.py shutdown >> "/var/log/teamplayer/teamplayer.log"
|
||||||
[ -f "TP_DB/tps.pid" ] && kill $(cat "TP_DB/tps.pid")
|
[ -f "TP_DB/tps.pid" ] && kill $(cat "TP_DB/tps.pid")
|
||||||
[ -f "TP_DB/uwsgi.pid" ] && kill $(cat "TP_DB/uwsgi.pid")
|
[ -f "TP_DB/uwsgi.pid" ] && kill $(cat "TP_DB/uwsgi.pid")
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue