1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-13 03:32:12 +00:00

OPWEN_SETTINGS

From an install.py machine where supervisord is used this value is passed
pi@jv-rpi-stock:~ $ cat /etc/supervisor/conf.d/lokole_gunicorn.conf
[program:lokole_gunicorn]
command="/lokole/venv/bin/gunicorn" --bind="unix:/lokole/state/lokole_gunicorn.sock" --timeout=300 --workers=3 --log-level=error opwen_email_client.webapp:app
autostart=true
autorestart=true
startretries=3
stopasgroup=true
stderr_logfile=/lokole/logs/lokole_gunicorn.stderr.log
stdout_logfile=/lokole/logs/lokole_gunicorn.stdout.log
user=root
environment=OPWEN_SETTINGS=/lokole/state/settings.env
This commit is contained in:
Jerry Vonau 2021-05-19 06:42:25 -05:00
parent 582b82302f
commit 45dcf7214e

View file

@ -1,3 +1,4 @@
export OPWEN_SETTINGS='{{ lokole_run_directory }}/settings.env'
export OPWEN_SIM_TYPE='{{ lokole_sim_type }}'
export OPWEN_STATE_DIRECTORY='{{ lokole_run_directory }}'
export OPWEN_APP_ROOT='{{ lokole_url }}/'