35 lines
886 B
YAML
35 lines
886 B
YAML
[supervisord]
|
|
logfile = /tmp/supervisord_{{instance_name}}.log
|
|
logfile_maxbytes = 50MB
|
|
logfile_backups=5
|
|
loglevel = debug
|
|
pidfile = /tmp/supervisord_{{instance_name}}.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/supervisord_{{instance_name}}.sock
|
|
chmod = 0777
|
|
chown = filebeat:filebeat
|
|
username = filebeat
|
|
password = eNlB.UlOrJAnA
|
|
|
|
[program:filebeat_{{instance_name}}]
|
|
command={{ work_path }}/filebeat -c {{ work_path }}/filebeat.yml
|
|
autorestart=true
|
|
|
|
[supervisorctl]
|
|
serverurl = unix:///tmp/supervisord_{{instance_name}}.sock
|
|
username = filebeat
|
|
password = eNlB.UlOrJAnA
|
|
prompt = filebeat_{{instance_name}}
|
|
|
|
[rpcinterface:supervisor]
|
|
supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface |