diff --git a/config/unicorn.rb.example b/config/unicorn.rb.example index e88a452..3d27149 100644 --- a/config/unicorn.rb.example +++ b/config/unicorn.rb.example @@ -11,7 +11,7 @@ # WARNING: See config/application.rb under "Relative url support" for the list of # other files that need to be changed for relative url support # -# ENV['RAILS_RELATIVE_URL_ROOT'] = "/gitlab" +ENV['RAILS_RELATIVE_URL_ROOT'] = "/gitlab" # Use at least one worker per core if you're on a dedicated server, # more will usually help for _short_ waits on databases/caches. @@ -26,12 +26,12 @@ worker_processes 2 # Help ensure your application will always spawn in the symlinked # "current" directory that Capistrano sets up. -working_directory "/home/git/gitlab" # available in 0.94.0+ +working_directory "/opt/git/gitlab" # available in 0.94.0+ # listen on both a Unix domain socket and a TCP port, # we use a shorter backlog for quicker failover when busy -listen "/home/git/gitlab/tmp/sockets/gitlab.socket", :backlog => 64 -listen "127.0.0.1:8080", :tcp_nopush => true +listen "/opt/git/gitlab/tmp/sockets/gitlab.socket", :backlog => 64 +listen "127.0.0.1:8090", :tcp_nopush => true # nuke workers after 30 seconds instead of 60 seconds (the default) # @@ -51,13 +51,13 @@ listen "127.0.0.1:8080", :tcp_nopush => true timeout 30 # feel free to point this anywhere accessible on the filesystem -pid "/home/git/gitlab/tmp/pids/unicorn.pid" +pid "/opt/git/gitlab/tmp/pids/unicorn.pid" # By default, the Unicorn logger will write to stderr. # Additionally, some applications/frameworks log to stderr or stdout, # so prevent them from going to /dev/null when daemonized here: -stderr_path "/home/git/gitlab/log/unicorn.stderr.log" -stdout_path "/home/git/gitlab/log/unicorn.stdout.log" +stderr_path "/opt/git/gitlab/log/unicorn.stderr.log" +stdout_path "/opt/git/gitlab/log/unicorn.stdout.log" # combine Ruby 2.0.0dev or REE with "preload_app true" for memory savings # http://rubyenterpriseedition.com/faq.html#adapt_apps_for_cow -- libgit2 0.21.2