mirror of
https://github.com/ansible/awx.git
synced 2026-01-18 21:21:21 -03:30
When making changes to the application sometime you can accidentally cause FATAL state and cause the dev container to crash which will remove any ephemeral changes that you have made and is ANNOYING!
130 lines
2.9 KiB
Plaintext
130 lines
2.9 KiB
Plaintext
[supervisord]
|
|
umask = 022
|
|
minfds = 4096
|
|
nodaemon=true
|
|
|
|
[program:awx-dispatcher]
|
|
command = awx-manage run_dispatcher
|
|
autorestart = true
|
|
stopasgroup=true
|
|
killasgroup=true
|
|
stdout_events_enabled = true
|
|
stderr_events_enabled = true
|
|
|
|
[program:awx-receiver]
|
|
command = awx-manage run_callback_receiver
|
|
autorestart = true
|
|
stopasgroup=true
|
|
killasgroup=true
|
|
stdout_events_enabled = true
|
|
stderr_events_enabled = true
|
|
|
|
[program:awx-wsrelay]
|
|
command = awx-manage run_wsrelay
|
|
autorestart = true
|
|
autorestart = true
|
|
stopasgroup=true
|
|
killasgroup=true
|
|
stdout_events_enabled = true
|
|
stderr_events_enabled = true
|
|
|
|
[program:awx-ws-heartbeat]
|
|
command = awx-manage run_ws_heartbeat
|
|
autorestart = true
|
|
autorestart = true
|
|
stopasgroup=true
|
|
killasgroup=true
|
|
stdout_events_enabled = true
|
|
stderr_events_enabled = true
|
|
|
|
[program:awx-rsyslog-configurer]
|
|
command = awx-manage run_rsyslog_configurer
|
|
autorestart = true
|
|
stopasgroup=true
|
|
killasgroup=true
|
|
stdout_logfile=/dev/stdout
|
|
stdout_logfile_maxbytes=0
|
|
stderr_logfile=/dev/stderr
|
|
stderr_logfile_maxbytes=0
|
|
|
|
[program:awx-cache-clear]
|
|
command = awx-manage run_cache_clear
|
|
autorestart = true
|
|
stopasgroup=true
|
|
killasgroup=true
|
|
stdout_logfile=/dev/stdout
|
|
stdout_logfile_maxbytes=0
|
|
stderr_logfile=/dev/stderr
|
|
stderr_logfile_maxbytes=0
|
|
|
|
[program:awx-uwsgi]
|
|
command = make uwsgi
|
|
autorestart = true
|
|
stopwaitsecs = 1
|
|
stopsignal=KILL
|
|
stopasgroup=true
|
|
killasgroup=true
|
|
stdout_events_enabled = true
|
|
stderr_events_enabled = true
|
|
|
|
[program:awx-daphne]
|
|
command = make daphne
|
|
autorestart = true
|
|
stopasgroup=true
|
|
killasgroup=true
|
|
stdout_events_enabled = true
|
|
stderr_events_enabled = true
|
|
|
|
[program:awx-nginx]
|
|
command = make nginx
|
|
autorestart = true
|
|
stopasgroup=true
|
|
killasgroup=true
|
|
stdout_events_enabled = true
|
|
stderr_events_enabled = true
|
|
|
|
[program:awx-rsyslogd]
|
|
command = rsyslogd -n -i /var/run/awx-rsyslog/rsyslog.pid -f /var/lib/awx/rsyslog/rsyslog.conf
|
|
autorestart = true
|
|
stopasgroup=true
|
|
killasgroup=true
|
|
redirect_stderr=true
|
|
stdout_events_enabled = true
|
|
stderr_events_enabled = true
|
|
|
|
[program:awx-receptor]
|
|
command = receptor --config /etc/receptor/receptor.conf
|
|
autorestart = true
|
|
stopasgroup=true
|
|
killasgroup=true
|
|
stdout_events_enabled = true
|
|
stderr_events_enabled = true
|
|
|
|
[group:tower-processes]
|
|
programs=awx-dispatcher,awx-receiver,awx-uwsgi,awx-daphne,awx-nginx,awx-wsrelay,awx-rsyslogd,awx-ws-heartbeat,awx-rsyslog-configurer,awx-cache-clear
|
|
priority=5
|
|
|
|
[program:awx-autoreload]
|
|
command = make awx-autoreload
|
|
autostart = true
|
|
autorestart = true
|
|
stopasgroup=true
|
|
killasgroup=true
|
|
stdout_events_enabled = true
|
|
stderr_events_enabled = true
|
|
|
|
[unix_http_server]
|
|
file=/var/run/supervisor/supervisor.sock
|
|
|
|
[supervisorctl]
|
|
serverurl=unix:///var/run/supervisor/supervisor.sock ; use a unix:// URL for a unix socket
|
|
|
|
[rpcinterface:supervisor]
|
|
supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface
|
|
|
|
[eventlistener:stdout]
|
|
command = supervisor_stdout
|
|
buffer_size = 100
|
|
events = PROCESS_LOG
|
|
result_handler = supervisor_stdout:event_handler
|