936783ae75
Enables capability to install nailgun and OSTF without postgres server for Docker installation. OSTF moved out of base Nailgun class so it can be installed separately. Database paramters are explicitly declared for OSTF both in the class and in service definitions. blueprint fuel-containerization-of-services Change-Id: I841c328ab932c54ad44e33018511be9c1d5220b3
98 lines
2.1 KiB
Plaintext
98 lines
2.1 KiB
Plaintext
[rpcinterface:supervisor]
|
|
; required for supervisorctl
|
|
supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface
|
|
|
|
[unix_http_server]
|
|
file=/var/run/supervisor.sock
|
|
|
|
[supervisord]
|
|
logfile=/var/log/supervisor/supervisord.log
|
|
loglevel=debug
|
|
pidfile=/var/run/supervisord.pid
|
|
childlogdir=/var/log/supervisor
|
|
|
|
[supervisorctl]
|
|
serverurl=unix:///var/run/supervisor.sock
|
|
|
|
[include]
|
|
files = /etc/supervisord.d/*.conf
|
|
|
|
[program:nailgun]
|
|
command=<%= @nailgun_env %>/bin/nailgund
|
|
process_name=%(program_name)s
|
|
numprocs=1
|
|
numprocs_start=0
|
|
autostart=true
|
|
autorestart=true
|
|
startsecs=10
|
|
startretries=1000000
|
|
exitcodes=0,2
|
|
stopsignal=INT
|
|
stopwaitsecs=60
|
|
redirect_stderr=true
|
|
stdout_logfile=/var/log/nailgun/app.log
|
|
stdout_capture_maxbytes=0
|
|
stdout_events_enabled=false
|
|
serverurl=AUTO
|
|
|
|
[program:assassind]
|
|
command=<%= @nailgun_env %>/bin/assassind
|
|
process_name=%(program_name)s
|
|
numprocs=1
|
|
numprocs_start=0
|
|
autostart=true
|
|
autorestart=true
|
|
startsecs=10
|
|
startretries=1000000
|
|
exitcodes=0
|
|
stopsignal=INT
|
|
stopwaitsecs=60
|
|
redirect_stderr=true
|
|
stdout_logfile=/var/log/nailgun/assassind.log
|
|
stdout_capture_maxbytes=0
|
|
stdout_events_enabled=false
|
|
serverurl=AUTO
|
|
|
|
[program:receiverd]
|
|
command=<%= @nailgun_env %>/bin/receiverd
|
|
process_name=%(program_name)s
|
|
numprocs=1
|
|
numprocs_start=0
|
|
autostart=true
|
|
autorestart=true
|
|
startsecs=10
|
|
startretries=1000000
|
|
exitcodes=0
|
|
stopsignal=INT
|
|
stopwaitsecs=60
|
|
redirect_stderr=true
|
|
stdout_logfile=/var/log/nailgun/receiverd.log
|
|
stdout_capture_maxbytes=0
|
|
stdout_events_enabled=false
|
|
serverurl=AUTO
|
|
|
|
[program:astute]
|
|
command=/usr/bin/astuted -c /etc/astute/astuted.conf -l /var/log/astute/astute.log -w 7
|
|
process_name=%(program_name)s
|
|
numprocs=1
|
|
numprocs_start=0
|
|
autostart=true
|
|
autorestart=true
|
|
startsecs=10
|
|
startretries=1000000
|
|
exitcodes=0,2
|
|
stopsignal=INT
|
|
stopwaitsecs=60
|
|
redirect_stderr=true
|
|
stdout_logfile=/var/log/astute/app.log
|
|
stdout_logfile_maxbytes=50MB
|
|
stdout_logfile_backups=10
|
|
stdout_capture_maxbytes=0
|
|
stdout_events_enabled=false
|
|
stderr_logfile=/var/log/astute/err.log
|
|
stderr_logfile_maxbytes=50MB
|
|
stderr_logfile_backups=10
|
|
stderr_capture_maxbytes=0
|
|
stderr_events_enabled=false
|
|
serverurl=AUTO
|