auxesis / visage

Graph collectd metrics in the browser, backed by a JSON API
http://visage-app.com/
Other
381 stars 56 forks source link

Pull Debug Port from Environment #107

Closed theonewolf closed 12 years ago

theonewolf commented 12 years ago

Very simple one-line modification to pull the debug web server port from an environment variable if present.

The default behavior remains the same: run the debug web server on TCP port 9292

This is a useful feature within environments that have port 9292 already dedicated to another service.