filebeat/playbooks/templates/supervisor.yml

30 lines
669 B
YAML

[supervisord]
logfile = /var/log/supervisord_{{instance_name}}.log
logfile_maxbytes = 50MB
logfile_backups=5
loglevel = info
pidfile = {{ work_path }}/supervisord.pid
nodaemon = false
minfds = 1024
minprocs = 200
umask = 022
user = filebeat
identifier = supervisor_{{instance_name}}
directory = {{ work_path }}
nocleanup = true
strip_ansi = false
[unix_http_server]
file = /tmp/supervisor_{{instance_name}}.sock
chmod = 0777
chown= nobody:nogroup
username = filebeat
password = eNlB.UlOrJAnA
[program:example]
[supervisorctl]
serverurl = unix:///tmp/supervisor_{{instance_name}}.sock
username = filebeat
password = eNlB.UlOrJAnA
prompt = supervisor_{{instance_name}}