use correct path for socket

This commit is contained in:
Praveen Arimbrathodiyil 2016-02-15 16:47:29 +05:30
parent b479925436
commit 37a6efbbaa

View file

@ -35,7 +35,7 @@ working_directory ENV['gitlab_home'] # available in 0.94.0+
# Listen on both a Unix domain socket and a TCP port.
# If you are load-balancing multiple Unicorn masters, lower the backlog
# setting to e.g. 64 for faster failover.
listen "#{ENV['gitlab_pid_path']}/pids/gitlab.socket", :backlog => 1024
listen "#{ENV['gitlab_pid_path']}/sockets/gitlab.socket", :backlog => 1024
listen "127.0.0.1:8080", :tcp_nopush => true
# nuke workers after 30 seconds instead of 60 seconds (the default)