force adding /root/www to python path before running

This commit is contained in:
Patrick McDonagh
2016-12-06 17:15:41 -06:00
parent a4d078bfa4
commit 4305685acb

View File

@@ -1,5 +1,3 @@
#!/bin/bash
OLDDIR=$PWD
cd /root/www
export PYTHONPATH=${PYTHONPATH}:/root/www
twistd --pidfile=/root/webserver.pid web --https=5000 --wsgi app.app -c /root/ssl/poconsole.crt -k /root/ssl/poconsole.key
cd $OLDDIR