Start of heartbeet daemon

Signed-off-by: Rick Elrod <rick@elrod.me>
This commit is contained in:
Rick Elrod
2022-12-09 00:17:31 -06:00
parent dba157e1db
commit 4228a1fbdf
6 changed files with 121 additions and 10 deletions

View File

@@ -57,6 +57,23 @@ stdout_logfile_maxbytes=0
stderr_logfile=/dev/stderr
stderr_logfile_maxbytes=0
[program:heartbeet]
{% if kube_dev | bool %}
command = make heartbeet
directory = /awx_devel
{% else %}
command = awx-manage run_heartbeet
directory = /var/lib/awx
{% endif %}
autorestart = true
startsecs = 30
stopasgroup=true
killasgroup=true
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
stderr_logfile=/dev/stderr
stderr_logfile_maxbytes=0
[program:awx-rsyslogd]
command = rsyslogd -n -i /var/run/awx-rsyslog/rsyslog.pid -f /var/lib/awx/rsyslog/rsyslog.conf
autorestart = true