-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 01/27/2014 11:50 AM, Marcos Cano wrote:

>> On Sun, Jan 26, 2014 at 8:10 AM, Tres Seaver <tsea...@palladion.com>
>> wrote:
>> 
>> The Debian packaging provides a config file which doesn't enable the
>> web server.  You neeed to add and appropriate section to 
>> /etc/supervisor/config, e.g.: 
>> http://supervisord.org/configuration.html#inet-http-server-section-example
>
>> 
> it appears to be running the same version when i do a supervisorctl
> version : 3.0a8, but canot find any http.py or any web servers source
> code..

Looking at the Ubuntu patch file:
http://archive.ubuntu.com/ubuntu/pool/universe/s/supervisor/supervisor_3.0a8-1.1.diff.gz

The file you are looking for should be in:

  /usr/share/pyshared/supervisor/medusa/http_server.py

which is actually enabled in the default config, but only for Unix-domain
sockets:

  $ head -6 /etc/supervisor/supervisord.conf
  ; supervisor config file

  [unix_http_server]
  file=/var/run//supervisor.sock   ; (the path to the socket file)
  chmod=0700                       ; sockef file mode (default 0700)

If I configure the TCP version:

  [inet_http_server]
  port = 127.0.0.1:9001
  username = user
  password = 123

and restart, I can get to the web interface:

  http://127.0.0.1:9001/



Tres.
- -- 
===================================================================
Tres Seaver          +1 540-429-0999          tsea...@palladion.com
Palladion Software   "Excellence by Design"    http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlLmlRoACgkQ+gerLs4ltQ7jPwCdHmenh+9fqnYbOUFwOci4jwXi
jCwAnA4WHlPbbDlWKjrFIq2gsQchEN0/
=KQVk
-----END PGP SIGNATURE-----
_______________________________________________
Supervisor-users mailing list
Supervisor-users@lists.supervisord.org
https://lists.supervisord.org/mailman/listinfo/supervisor-users

Reply via email to