From ea85bee93d666650c0ce32eb6e42e30626e9de3f Mon Sep 17 00:00:00 2001 From: Forest Gregg Date: Wed, 1 Nov 2023 09:59:03 -0400 Subject: [PATCH] update right config file --- configs/asset-dashboard-staging.conf.supervisor | 2 +- configs/asset-dashboard.conf.supervisor | 9 --------- 2 files changed, 1 insertion(+), 10 deletions(-) delete mode 100644 configs/asset-dashboard.conf.supervisor diff --git a/configs/asset-dashboard-staging.conf.supervisor b/configs/asset-dashboard-staging.conf.supervisor index b184676..0508010 100644 --- a/configs/asset-dashboard-staging.conf.supervisor +++ b/configs/asset-dashboard-staging.conf.supervisor @@ -6,4 +6,4 @@ stdout_logfile_maxbytes=10MB stderr_logfile=/var/log/{{ app_name }}-{{ deployment_id }}-err.log stderr_logfile_maxbytes=10MB directory=/home/datamade/{{ app_name }}-{{ deployment_id }} -command=/home/datamade/.virtualenvs/{{ app_name }}-{{ deployment_id }}/bin/gunicorn -t 180 --log-level debug -b unix:/tmp/{{ app_name }}-{{ deployment_id }}.sock docsearch.wsgi:application \ No newline at end of file +command=env $(cat /home/datamade/{{ app_name }}-{{ deployment_id }}/.env | xargs) /home/datamade/.virtualenvs/{{ app_name }}-{{ deployment_id }}/bin/gunicorn -t 180 --log-level debug -b unix:/tmp/{{ app_name }}-{{ deployment_id }}.sock docsearch.wsgi:application \ No newline at end of file diff --git a/configs/asset-dashboard.conf.supervisor b/configs/asset-dashboard.conf.supervisor deleted file mode 100644 index b184676..0000000 --- a/configs/asset-dashboard.conf.supervisor +++ /dev/null @@ -1,9 +0,0 @@ -[program:{{ app_name }}-{{ deployment_id }}] -user=datamade -process_name={{ app_name }} -stdout_logfile=/var/log/{{ app_name }}-{{ deployment_id }}-out.log -stdout_logfile_maxbytes=10MB -stderr_logfile=/var/log/{{ app_name }}-{{ deployment_id }}-err.log -stderr_logfile_maxbytes=10MB -directory=/home/datamade/{{ app_name }}-{{ deployment_id }} -command=/home/datamade/.virtualenvs/{{ app_name }}-{{ deployment_id }}/bin/gunicorn -t 180 --log-level debug -b unix:/tmp/{{ app_name }}-{{ deployment_id }}.sock docsearch.wsgi:application \ No newline at end of file