virtual-appliance/teamplayer/stop-teamplayer

8 lines
171 B
Plaintext
Raw Normal View History

#!/bin/sh
# this should be run as the TP_USER user
cd ~/web
[ -f "$HOME/tps.pid" ] && kill $(cat "$HOME/tps.pid")
python manage.py stop_stream > "$HOME/teamplayer.log"