[indico-web] worker: Fix path to venv



commit 1a62c68bbf5e8fc8bb064d5df57469181a2831ee
Author: Bartłomiej Piotrowski <bpiotrowski gnome org>
Date:   Mon Dec 2 15:41:07 2019 +0100

    worker: Fix path to venv

 worker/run_celery.sh | 2 +-
 worker/run_indico.sh | 2 +-
 worker/uwsgi.ini     | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/worker/run_celery.sh b/worker/run_celery.sh
index c54ce4b..734ddcd 100644
--- a/worker/run_celery.sh
+++ b/worker/run_celery.sh
@@ -1,7 +1,7 @@
 #!/bin/bash
 
 /opt/indico/set_user.sh
-. /opt/indico/.venv/bin/activate
+. /opt/indico/venv/bin/activate
 
 for path in /opt/indico/data/{archive,custom}; do
     [[ ! -d $path ]] && mkdir -p $path
diff --git a/worker/run_indico.sh b/worker/run_indico.sh
index 9c3411a..c139bf6 100644
--- a/worker/run_indico.sh
+++ b/worker/run_indico.sh
@@ -1,7 +1,7 @@
 #!/bin/bash
 
 /opt/indico/set_user.sh
-. /opt/indico/.venv/bin/activate
+. /opt/indico/venv/bin/activate
 
 
 for path in /opt/indico/data/{archive,custom}; do
diff --git a/worker/uwsgi.ini b/worker/uwsgi.ini
index e369a9f..aba0c8c 100644
--- a/worker/uwsgi.ini
+++ b/worker/uwsgi.ini
@@ -20,7 +20,7 @@ single-interpreter = true
 
 touch-reload = /opt/indico/indico.wsgi
 wsgi-file = /opt/indico/indico.wsgi
-virtualenv = /opt/indico/.venv
+virtualenv = /opt/indico/venv
 
 ignore-sigpipe = true
 ignore-write-errors = true


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]