From 23fe1703c39b3e4a1e5aaf978b31fd27bc213ea2 Mon Sep 17 00:00:00 2001 From: Peter Pfeufer Date: Tue, 28 Oct 2025 22:33:33 +0100 Subject: [PATCH] [FIX] Directories --- allianceauth/project_template/supervisor.conf | 24 +++++++++---------- 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/allianceauth/project_template/supervisor.conf b/allianceauth/project_template/supervisor.conf index dba343ec..24bc9fc7 100644 --- a/allianceauth/project_template/supervisor.conf +++ b/allianceauth/project_template/supervisor.conf @@ -11,10 +11,10 @@ environment = [program:beat] command = %(ENV_AA_COMMAND_CELERY)s -A %(ENV_AA_PROJECT_NAME)s beat -directory = %(ENV_AA_VENV_DIRECTORY)s +directory = %(ENV_AA_PROJECT_DIRECTORY)s user = %(ENV_AA_USER)s -stdout_logfile = %(ENV_AA_VENV_DIRECTORY)s/log/%(program_name)s.log -stderr_logfile = %(ENV_AA_VENV_DIRECTORY)s/log/%(program_name)s.log +stdout_logfile = %(ENV_AA_PROJECT_DIRECTORY)s/log/%(program_name)s.log +stderr_logfile = %(ENV_AA_PROJECT_DIRECTORY)s/log/%(program_name)s.log autostart = true autorestart = true startsecs = 10 @@ -26,12 +26,12 @@ command = %(ENV_AA_COMMAND_CELERY)s --pool=threads --concurrency=5 -n %(program_name)s_%(process_num)02d -directory = %(ENV_AA_VENV_DIRECTORY)s +directory = %(ENV_AA_PROJECT_DIRECTORY)s user = %(ENV_AA_USER)s numprocs = 1 process_name = %(program_name)s_%(process_num)02d -stdout_logfile = %(ENV_AA_VENV_DIRECTORY)s/log/%(program_name)s.log -stderr_logfile = %(ENV_AA_VENV_DIRECTORY)s/log/%(program_name)s.log +stdout_logfile = %(ENV_AA_PROJECT_DIRECTORY)s/log/%(program_name)s.log +stderr_logfile = %(ENV_AA_PROJECT_DIRECTORY)s/log/%(program_name)s.log autostart = true autorestart = true startsecs = 10 @@ -42,12 +42,12 @@ priority = 998 {% if gunicorn %} [program:gunicorn] user = %(ENV_AA_USER)s -directory = %(ENV_AA_VENV_DIRECTORY)s +directory = %(ENV_AA_PROJECT_DIRECTORY)s command = %(ENV_AA_COMMAND_GUNICORN)s %(ENV_AA_PROJECT_NAME)s.wsgi --workers=3 --timeout 120 -stdout_logfile = %(ENV_AA_VENV_DIRECTORY)s/log/%(program_name)s.log -stderr_logfile = %(ENV_AA_VENV_DIRECTORY)s/log/%(program_name)s.log +stdout_logfile = %(ENV_AA_PROJECT_DIRECTORY)s/log/%(program_name)s.log +stderr_logfile = %(ENV_AA_PROJECT_DIRECTORY)s/log/%(program_name)s.log autostart = true autorestart = true stopsignal = INT @@ -57,10 +57,10 @@ stopsignal = INT command = %(ENV_AA_COMMAND_MEMMON)s -p worker_00=256MB -p gunicorn=256MB -directory = %(ENV_AA_VENV_DIRECTORY)s +directory = %(ENV_AA_PROJECT_DIRECTORY)s events = TICK_60 -stdout_logfile = %(ENV_AA_VENV_DIRECTORY)s/log/memmon.log -stderr_logfile = %(ENV_AA_VENV_DIRECTORY)s/log/memmon.log +stdout_logfile = %(ENV_AA_PROJECT_DIRECTORY)s/log/memmon.log +stderr_logfile = %(ENV_AA_PROJECT_DIRECTORY)s/log/memmon.log [group:{{ project_name }}] programs = beat,worker{% if gunicorn %},gunicorn{% endif %}