Fix cache-clear for kube dev env

Missing conditional for when running in kube development environment
This commit is contained in:
Lila 2023-03-29 15:05:58 -04:00 committed by Hao Liu
parent c8c8ed1775
commit ac2f2039f5

View File

@ -75,7 +75,13 @@ stderr_logfile=/dev/stderr
stderr_logfile_maxbytes=0
[program:awx-cache-clear]
{% if kube_dev | bool %}
command = make cache_clear
directory = /awx_devel
{% else %}
command = awx-manage run_cache_clear
directory = /var/lib/awx
{% endif %}
autorestart = true
startsecs = 30
stopasgroup=true