Checkpoint

This commit is contained in:
Shane McDonald
2022-09-06 17:19:15 -04:00
parent 8e5af2b5f2
commit ab5fb506e0
14 changed files with 169 additions and 130 deletions

View File

@@ -27,7 +27,7 @@ stderr_logfile_maxbytes=0
command = make uwsgi
directory = /awx_devel
environment =
DEV_RELOAD_COMMAND='supervisorctl -c /etc/supervisord_task.conf restart all; supervisorctl restart tower-processes:daphne tower-processes:wsbroadcast'
DEV_RELOAD_COMMAND='supervisorctl -c /etc/supervisord_task.conf restart all; supervisorctl restart tower-processes:daphne tower-processes:wsrelay'
{% else %}
command = /var/lib/awx/venv/awx/bin/uwsgi /etc/tower/uwsgi.ini
directory = /var/lib/awx
@@ -58,12 +58,12 @@ stdout_logfile_maxbytes=0
stderr_logfile=/dev/stderr
stderr_logfile_maxbytes=0
[program:wsbroadcast]
[program:wsrelay]
{% if kube_dev | bool %}
command = make wsbroadcast
command = make wsrelay
directory = /awx_devel
{% else %}
command = awx-manage run_wsbroadcast
command = awx-manage run_wsrelay
directory = /var/lib/awx
{% endif %}
autorestart = true
@@ -87,7 +87,7 @@ stderr_logfile=/dev/stderr
stderr_logfile_maxbytes=0
[group:tower-processes]
programs=nginx,uwsgi,daphne,wsbroadcast,awx-rsyslogd
programs=nginx,uwsgi,daphne,wsrelay,awx-rsyslogd
priority=5
[eventlistener:superwatcher]