force adding /root/www to python path before running
This commit is contained in:
4
start.sh
4
start.sh
@@ -1,5 +1,3 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
OLDDIR=$PWD
|
export PYTHONPATH=${PYTHONPATH}:/root/www
|
||||||
cd /root/www
|
|
||||||
twistd --pidfile=/root/webserver.pid web --https=5000 --wsgi app.app -c /root/ssl/poconsole.crt -k /root/ssl/poconsole.key
|
twistd --pidfile=/root/webserver.pid web --https=5000 --wsgi app.app -c /root/ssl/poconsole.crt -k /root/ssl/poconsole.key
|
||||||
cd $OLDDIR
|
|
||||||
|
|||||||
Reference in New Issue
Block a user