Auto reload services in kube dev env

This commit is contained in:
Hao Liu
2023-04-13 14:43:06 -04:00
parent b75b84e282
commit cfbbc4cb92
3 changed files with 39 additions and 2 deletions

View File

@@ -33,6 +33,19 @@ stdout_logfile_maxbytes=0
stderr_logfile=/dev/stderr
stderr_logfile_maxbytes=0
{% if kube_dev | bool %}
[program:awx-autoreload]
command = /awx_devel/tools/docker-compose/awx-autoreload /awx_devel/awx 'supervisorctl -c /etc/supervisord_rsyslog.conf restart tower-processes:*'
autostart = true
autorestart = true
stopasgroup=true
killasgroup=true
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
stderr_logfile=/dev/stderr
stderr_logfile_maxbytes=0
{% endif %}
[group:tower-processes]
programs=awx-rsyslog-configurer,awx-rsyslogd
priority=5