mirror of
https://github.com/ansible/awx.git
synced 2026-02-01 01:28:09 -03:30
Add rsyslog to supervisor for the task container
- Add proper paths for rsyslog's supervisor logs - Do not enable debug mode for rsyslogd - Include system rsyslog.conf, and specify tower logging conf when starting rsyslog.
This commit is contained in:
@@ -26,8 +26,20 @@ stdout_logfile_maxbytes=0
|
||||
stderr_logfile=/dev/stderr
|
||||
stderr_logfile_maxbytes=0
|
||||
|
||||
[program:awx-rsyslogd]
|
||||
command = rsyslogd -n -i /awx_devel/rsyslog.pid
|
||||
autostart = true
|
||||
autorestart = true
|
||||
stopwaitsecs = 1
|
||||
stopsignal=KILL
|
||||
stopasgroup=true
|
||||
killasgroup=true
|
||||
redirect_stderr=true
|
||||
stdout_logfile=/dev/stderr
|
||||
stdout_logfile_maxbytes=0
|
||||
|
||||
[group:tower-processes]
|
||||
programs=dispatcher,callback-receiver
|
||||
programs=dispatcher,callback-receiver,awx-rsyslogd
|
||||
priority=5
|
||||
|
||||
# TODO: Exit Handler
|
||||
|
||||
Reference in New Issue
Block a user