update run.sh

This commit is contained in:
zema1 2017-12-01 11:13:23 +08:00
parent 5429e99465
commit 0f6fa71657

View File

@ -28,7 +28,7 @@ do
sleep 8
done
echo "from options.options import SysOptions; SysOptions.judge_server_token=$JUDGE_SERVER_TOKEN" | pg shell || exit 1
echo "from options.options import SysOptions; SysOptions.judge_server_token='$JUDGE_SERVER_TOKEN'" | python manage.py shell || exit 1
cp data/public/avatar/default.png /data/public/avatar
chown -R nobody:nogroup $DATA $APP/dist