From dfda935d65055f8966d11cac0c0ba1d2b9480a1e Mon Sep 17 00:00:00 2001 From: Steven Eardley Date: Thu, 28 Nov 2024 14:18:30 +0100 Subject: [PATCH] fix the paths to binaries in venv for supervisor configs --- deploy/supervisor/production-background/huey-events.conf | 4 ++-- .../supervisor/production-background/huey-scheduled-long.conf | 4 ++-- .../production-background/huey-scheduled-short.conf | 4 ++-- deploy/supervisor/test/huey-events.conf | 4 ++-- deploy/supervisor/test/huey-scheduled-long.conf | 4 ++-- deploy/supervisor/test/huey-scheduled-short.conf | 4 ++-- 6 files changed, 12 insertions(+), 12 deletions(-) diff --git a/deploy/supervisor/production-background/huey-events.conf b/deploy/supervisor/production-background/huey-events.conf index f4625a1f2..2361dcc75 100644 --- a/deploy/supervisor/production-background/huey-events.conf +++ b/deploy/supervisor/production-background/huey-events.conf @@ -1,8 +1,8 @@ [program:huey-events] -command=/home/cloo/doaj/bin/python /home/cloo/doaj/bin/huey_consumer.py -v portality.tasks.consumer_events_queue.events_queue +command=/home/cloo/doaj/venv/bin/python /home/cloo/doaj/venv/bin/huey_consumer.py -v portality.tasks.consumer_events_queue.events_queue environment= DOAJENV=production user=cloo -directory=/home/cloo/doaj/src/doaj +directory=/home/cloo/doaj stdout_logfile=/var/log/supervisor/%(program_name)s-stdout.log stderr_logfile=/var/log/supervisor/%(program_name)s-error.log autostart=true diff --git a/deploy/supervisor/production-background/huey-scheduled-long.conf b/deploy/supervisor/production-background/huey-scheduled-long.conf index 6f49379c1..705fe6690 100644 --- a/deploy/supervisor/production-background/huey-scheduled-long.conf +++ b/deploy/supervisor/production-background/huey-scheduled-long.conf @@ -1,8 +1,8 @@ [program:huey-scheduled-long] -command=/home/cloo/doaj/bin/python /home/cloo/doaj/bin/huey_consumer.py -v portality.tasks.consumer_scheduled_long_queue.scheduled_long_queue +command=/home/cloo/doaj/venv/bin/python /home/cloo/doaj/venv/bin/huey_consumer.py -v portality.tasks.consumer_scheduled_long_queue.scheduled_long_queue environment= DOAJENV=production user=cloo -directory=/home/cloo/doaj/src/doaj +directory=/home/cloo/doaj stdout_logfile=/var/log/supervisor/%(program_name)s-stdout.log stderr_logfile=/var/log/supervisor/%(program_name)s-error.log autostart=true diff --git a/deploy/supervisor/production-background/huey-scheduled-short.conf b/deploy/supervisor/production-background/huey-scheduled-short.conf index ba6eac752..a38439d83 100644 --- a/deploy/supervisor/production-background/huey-scheduled-short.conf +++ b/deploy/supervisor/production-background/huey-scheduled-short.conf @@ -1,8 +1,8 @@ [program:huey-scheduled-short] -command=/home/cloo/doaj/bin/python /home/cloo/doaj/bin/huey_consumer.py -v portality.tasks.consumer_scheduled_short_queue.scheduled_short_queue +command=/home/cloo/doaj/venv/bin/python /home/cloo/doaj/venv/bin/huey_consumer.py -v portality.tasks.consumer_scheduled_short_queue.scheduled_short_queue environment= DOAJENV=production user=cloo -directory=/home/cloo/doaj/src/doaj +directory=/home/cloo/doaj stdout_logfile=/var/log/supervisor/%(program_name)s-stdout.log stderr_logfile=/var/log/supervisor/%(program_name)s-error.log autostart=true diff --git a/deploy/supervisor/test/huey-events.conf b/deploy/supervisor/test/huey-events.conf index 8a6f9de10..bcb47109e 100644 --- a/deploy/supervisor/test/huey-events.conf +++ b/deploy/supervisor/test/huey-events.conf @@ -1,8 +1,8 @@ [program:huey-events] -command=/home/cloo/doaj/bin/python /home/cloo/doaj/bin/huey_consumer.py -v portality.tasks.consumer_events_queue.events_queue +command=/home/cloo/doaj/venv/bin/python /home/cloo/doaj/venv/bin/huey_consumer.py -v portality.tasks.consumer_events_queue.events_queue environment= DOAJENV=test user=cloo -directory=/home/cloo/doaj/src/doaj +directory=/home/cloo/doaj stdout_logfile=/var/log/supervisor/%(program_name)s-stdout.log stderr_logfile=/var/log/supervisor/%(program_name)s-error.log autostart=true diff --git a/deploy/supervisor/test/huey-scheduled-long.conf b/deploy/supervisor/test/huey-scheduled-long.conf index fa10f8f99..4f2d0b9df 100644 --- a/deploy/supervisor/test/huey-scheduled-long.conf +++ b/deploy/supervisor/test/huey-scheduled-long.conf @@ -1,8 +1,8 @@ [program:huey-scheduled-long] -command=/home/cloo/doaj/bin/python /home/cloo/doaj/bin/huey_consumer.py -v portality.tasks.consumer_scheduled_long_queue.scheduled_long_queue +command=/home/cloo/doaj/venv/bin/python /home/cloo/doaj/venv/bin/huey_consumer.py -v portality.tasks.consumer_scheduled_long_queue.scheduled_long_queue environment= DOAJENV=test user=cloo -directory=/home/cloo/doaj/src/doaj +directory=/home/cloo/doaj stdout_logfile=/var/log/supervisor/%(program_name)s-stdout.log stderr_logfile=/var/log/supervisor/%(program_name)s-error.log autostart=true diff --git a/deploy/supervisor/test/huey-scheduled-short.conf b/deploy/supervisor/test/huey-scheduled-short.conf index 758b60a2c..1f4ab5476 100644 --- a/deploy/supervisor/test/huey-scheduled-short.conf +++ b/deploy/supervisor/test/huey-scheduled-short.conf @@ -1,8 +1,8 @@ [program:huey-scheduled-short] -command=/home/cloo/doaj/bin/python /home/cloo/doaj/bin/huey_consumer.py -v portality.tasks.consumer_scheduled_short_queue.scheduled_short_queue +command=/home/cloo/doaj/venv/bin/python /home/cloo/doaj/venv/bin/huey_consumer.py -v portality.tasks.consumer_scheduled_short_queue.scheduled_short_queue environment= DOAJENV=test user=cloo -directory=/home/cloo/doaj/src/doaj +directory=/home/cloo/doaj stdout_logfile=/var/log/supervisor/%(program_name)s-stdout.log stderr_logfile=/var/log/supervisor/%(program_name)s-error.log autostart=true