![]() Gunicorn-app.sh 结束注意:剧本是根据一个关在这里找到 - mkdir /webapps/geonode_django/logsĬhmod +x /webapps/geonode_django/scripts/gunicorn-app.sh log-file=/webapps/geonode_django/logs/gunicorn.log 2>/webapps/geonode_django/logs/gunicorn.log user=geonode -group=webapps -log-level=debug \ ![]() Source /webapps/geonode_django/bin/activateĮxec /webapps/geonode_django/bin/gunicorn gi:application \ 创建要运行的脚本gunicorn : mkdir /webapps/geonode_django/scripts Python setup.py build_ext -include-dirs=/opt/gdal-1.11.2/include/ Sudo chown geonode /webapps/geonode_django/ Sudo useradd -system -gid webapps -shell /bin/bash -home /webapps/geonode_django geonode configure -prefix=/usr/local -enable-unicode=ucs4 -enable-shared LDFLAGS="-Wl,-rpath /usr/local/lib" ![]() 详情: Gunicorn + Django的+ VIRTUALENV +的init.d服务(CentOS的) OS = CentOS 6.6 ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |