On 10/26/2016 07:08 PM, Alan Evangelista wrote:
I am using supervisor 3.2.0 and I have the following supervisord.conf file:


[unix_http_server]
file=/tmp/supervisor.sock   ; (the path to the socket file)

[supervisord]
logfile=/tmp/supervisor.log ; (main log file;default $CWD/supervisord.log)
logfile_maxbytes=50MB        ; (max main logfile bytes b4 rotation;default 50MB)
logfile_backups=2           ; (num of main logfile rotation backups;default 10)
loglevel=info                ; (log level;default info; others: 
debug,warn,trace)
pidfile=/tmp/supervisor.pid ; (supervisord pidfile;default supervisord.pid)
nodaemon=false               ; (start in foreground if true;default false)
minfds=1024                  ; (min. avail startup file descriptors;default 
1024)
minprocs=200                 ; (min. avail process descriptors;default 200)

[rpcinterface:supervisor]
supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface

[supervisorctl]
serverurl=unix:///tmp/supervisor.sock ; use a unix:// URL  for a unix socket

([program] sections ....]


I start supervisor server using

$ supervisord -c supervisord.conf

and then try to restart a program using

$ supervisorctl -c supervisord.conf restart <program_name>
http://localhost:9001 refused connection

I posted this questions 20 days ago and got no feedback.
I'll open an issue in supervisor's issue tracker.


Regards,
Alan Evangelista
_______________________________________________
Supervisor-users mailing list
Supervisor-users@lists.supervisord.org
https://lists.supervisord.org/mailman/listinfo/supervisor-users

Reply via email to