diff options
Diffstat (limited to 'fcaps')
-rw-r--r-- | fcaps/requirements.txt | 3 | ||||
-rw-r--r-- | fcaps/run.sh | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/fcaps/requirements.txt b/fcaps/requirements.txt index 6a81e502..33120c70 100644 --- a/fcaps/requirements.txt +++ b/fcaps/requirements.txt @@ -1,5 +1,6 @@ # rest framework -Django==1.9.6 +# Django==1.9.6 +Django >= 1.11 djangorestframework==3.3.3 # for call rest api diff --git a/fcaps/run.sh b/fcaps/run.sh index bc01c99e..5f9c4ae7 100644 --- a/fcaps/run.sh +++ b/fcaps/run.sh @@ -21,7 +21,7 @@ export PYTHONPATH=lib/share nohup celery -A fcaps worker --concurrency=1 --loglevel=info & #nohup python manage.py runserver 0.0.0.0:9011 2>&1 & -nohup uwsgi --http :9011 --module fcaps.wsgi --master --processes 4 & +nohup uwsgi --http :9011 --module fcaps.wsgi --master --enable-threads --processes 4 & logDir="/var/log/onap/multicloud/openstack/fcaps" if [ ! -x $logDir ]; then |