mirror of
https://github.com/ansible/awx.git
synced 2024-11-01 08:21:15 +03:00
74 lines
1.6 KiB
Plaintext
74 lines
1.6 KiB
Plaintext
[supervisord]
|
|
umask = 022
|
|
minfds = 4096
|
|
nodaemon=true
|
|
|
|
[program:awx-dispatcher]
|
|
command = awx-manage run_dispatcher
|
|
autostart = true
|
|
autorestart = true
|
|
redirect_stderr=true
|
|
stdout_logfile=/dev/fd/1
|
|
stdout_logfile_maxbytes=0
|
|
|
|
[program:awx-receiver]
|
|
command = python manage.py run_callback_receiver
|
|
autostart = true
|
|
autorestart = true
|
|
redirect_stderr=true
|
|
stdout_logfile=/dev/fd/1
|
|
stdout_logfile_maxbytes=0
|
|
|
|
[program:awx-runworker]
|
|
command = python manage.py runworker
|
|
autostart = true
|
|
autorestart = true
|
|
redirect_stderr=true
|
|
stdout_logfile=/dev/fd/1
|
|
stdout_logfile_maxbytes=0
|
|
|
|
[program:awx-uwsgi]
|
|
command = make uwsgi
|
|
autostart = true
|
|
autorestart = true
|
|
redirect_stderr=true
|
|
stdout_logfile=/dev/fd/1
|
|
stdout_logfile_maxbytes=0
|
|
|
|
[program:awx-daphne]
|
|
command = daphne -b 0.0.0.0 -p 8051 awx.asgi:channel_layer
|
|
autostart = true
|
|
autorestart = true
|
|
redirect_stderr=true
|
|
stdout_logfile=/dev/fd/1
|
|
stdout_logfile_maxbytes=0
|
|
|
|
[program:awx-nginx]
|
|
command = nginx -g "daemon off;"
|
|
autostart = true
|
|
autorestart = true
|
|
redirect_stderr=true
|
|
stdout_logfile=/dev/fd/1
|
|
stdout_logfile_maxbytes=0
|
|
|
|
[program:awx-jupyter]
|
|
command = make jupyter
|
|
autostart = true
|
|
autorestart = true
|
|
redirect_stderr=true
|
|
stdout_logfile=/dev/fd/1
|
|
stdout_logfile_maxbytes=0
|
|
|
|
[group:tower-processes]
|
|
programs=awx-dispatcher,awx-receiver,awx-runworker,awx-uwsgi,awx-daphne,awx-nginx
|
|
priority=5
|
|
|
|
[unix_http_server]
|
|
file=/tmp/supervisor.sock
|
|
|
|
[supervisorctl]
|
|
serverurl=unix:///tmp/supervisor.sock ; use a unix:// URL for a unix socket
|
|
|
|
[rpcinterface:supervisor]
|
|
supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface
|