gitblit/gitblit — pull request #15 by mragab (2012-05-02 16:34:58+00:00)
Title: Java Proxy Configuration for working inside a company network behind a proxy 

This is to make it easier to run inside a company network behind a proxy

Added a script (java-proxy-config.sh) to facilitate setting the proxy host and port and no proxy hosts, and then it concatenates all the java system properties for setting the java proxy configurations and puts the resulting string in an environment variable JAVA_PROXY_CONFIG

Modified the scirpts gitblit, gitblit-ubuntu, and gitblit-centos to source the java-proxy-config.sh script and then include the resulting java proxy configuration in the java command

And also added "-Djava.awt.headless=true" to gitblit, gitblit-ubuntu, and gitblit-centos