
* /opt/teamplayer/* is owned by root and thus not writeable * Put config files in /etc/teamplayer * Switch DBMS from Sqlite to PostgreSQL
11 lines
246 B
Bash
Executable File
11 lines
246 B
Bash
Executable File
#!/bin/sh
|
|
# this should be run as the TP_USER user
|
|
|
|
cd ~/web
|
|
PYTHONPATH="/etc/teamplayer:$PYTHONPATH"
|
|
|
|
export PYTHONPATH
|
|
|
|
[ -f "$HOME/tps.pid" ] && kill $(cat "TP_DB/tps.pid")
|
|
python manage.py stop_stream >> "/var/log/teamplayer/teamplayer.log"
|