From 51a064a6728b06d88bc46231fd8c84aafe87925f Mon Sep 17 00:00:00 2001 From: Steven Eardley Date: Thu, 28 Nov 2024 00:29:37 +0100 Subject: [PATCH] Correct paths to python binaries --- deploy/supervisor/production/doaj.conf | 2 +- deploy/supervisor/test/huey-long-running.conf | 2 +- deploy/supervisor/test/huey-main.conf | 2 +- production.cfg | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/deploy/supervisor/production/doaj.conf b/deploy/supervisor/production/doaj.conf index 42819001f..38b645483 100644 --- a/deploy/supervisor/production/doaj.conf +++ b/deploy/supervisor/production/doaj.conf @@ -1,5 +1,5 @@ [program:doaj] -command=/home/cloo/doaj/bin/gunicorn -c /home/cloo/doaj/deploy/doaj_gunicorn_config.py portality.app:app +command=/home/cloo/doaj/venv/bin/gunicorn -c /home/cloo/doaj/deploy/doaj_gunicorn_config.py portality.app:app environment = DOAJENV=production user=cloo directory=/home/cloo/doaj diff --git a/deploy/supervisor/test/huey-long-running.conf b/deploy/supervisor/test/huey-long-running.conf index 3c0e8000e..081d53a76 100644 --- a/deploy/supervisor/test/huey-long-running.conf +++ b/deploy/supervisor/test/huey-long-running.conf @@ -1,5 +1,5 @@ [program:huey-long-running] -command=/home/cloo/doaj/bin/python /home/cloo/doaj/bin/huey_consumer.py -v portality.tasks.consumer_long_running.long_running +command=/home/cloo/doaj/venv/bin/python /home/cloo/doaj/venv/bin/huey_consumer.py -v portality.tasks.consumer_long_running.long_running environment= DOAJENV=test user=cloo directory=/home/cloo/doaj diff --git a/deploy/supervisor/test/huey-main.conf b/deploy/supervisor/test/huey-main.conf index a279d4bb8..488c3ab90 100644 --- a/deploy/supervisor/test/huey-main.conf +++ b/deploy/supervisor/test/huey-main.conf @@ -1,5 +1,5 @@ [program:huey-main] -command=/home/cloo/doaj/bin/python /home/cloo/doaj/bin/huey_consumer.py -v portality.tasks.consumer_main_queue.main_queue +command=/home/cloo/doaj/venv/bin/python /home/cloo/doaj/venv/bin/huey_consumer.py -v portality.tasks.consumer_main_queue.main_queue environment= DOAJENV=test user=cloo directory=/home/cloo/doaj diff --git a/production.cfg b/production.cfg index 5c7dfa02e..6be023660 100644 --- a/production.cfg +++ b/production.cfg @@ -58,4 +58,4 @@ EVENT_SEND_FUNCTION = "portality.events.shortcircuit.send_event" PRESERVATION_PAGE_UNDER_MAINTENANCE = False # Ensure all app machines can contact background server first with redis-cli -h e.g. redis-cli -h 10.131.191.148 -REDIS_HOST = '10.131.191.148' \ No newline at end of file +REDIS_HOST = '10.131.191.148' # doaj-background-1 \ No newline at end of file