Commit 7887fc95d6e4ce4b9644d5a0f67cc367d2a6bd3d
1 parent
4fb1c4d3
Exists in
spb-stable
and in
1 other branch
Changed git dir to /home
Showing
1 changed file
with
5 additions
and
5 deletions
Show diff stats
config/unicorn.rb.example
| @@ -26,11 +26,11 @@ worker_processes 2 | @@ -26,11 +26,11 @@ worker_processes 2 | ||
| 26 | 26 | ||
| 27 | # Help ensure your application will always spawn in the symlinked | 27 | # Help ensure your application will always spawn in the symlinked |
| 28 | # "current" directory that Capistrano sets up. | 28 | # "current" directory that Capistrano sets up. |
| 29 | -working_directory "/opt/git/gitlab" # available in 0.94.0+ | 29 | +working_directory "/home/git/gitlab" # available in 0.94.0+ |
| 30 | 30 | ||
| 31 | # listen on both a Unix domain socket and a TCP port, | 31 | # listen on both a Unix domain socket and a TCP port, |
| 32 | # we use a shorter backlog for quicker failover when busy | 32 | # we use a shorter backlog for quicker failover when busy |
| 33 | -listen "/opt/git/gitlab/tmp/sockets/gitlab.socket", :backlog => 64 | 33 | +listen "/home/git/gitlab/tmp/sockets/gitlab.socket", :backlog => 64 |
| 34 | listen "127.0.0.1:8090", :tcp_nopush => true | 34 | listen "127.0.0.1:8090", :tcp_nopush => true |
| 35 | 35 | ||
| 36 | # nuke workers after 30 seconds instead of 60 seconds (the default) | 36 | # nuke workers after 30 seconds instead of 60 seconds (the default) |
| @@ -51,13 +51,13 @@ listen "127.0.0.1:8090", :tcp_nopush => true | @@ -51,13 +51,13 @@ listen "127.0.0.1:8090", :tcp_nopush => true | ||
| 51 | timeout 30 | 51 | timeout 30 |
| 52 | 52 | ||
| 53 | # feel free to point this anywhere accessible on the filesystem | 53 | # feel free to point this anywhere accessible on the filesystem |
| 54 | -pid "/opt/git/gitlab/tmp/pids/unicorn.pid" | 54 | +pid "/home/git/gitlab/tmp/pids/unicorn.pid" |
| 55 | 55 | ||
| 56 | # By default, the Unicorn logger will write to stderr. | 56 | # By default, the Unicorn logger will write to stderr. |
| 57 | # Additionally, some applications/frameworks log to stderr or stdout, | 57 | # Additionally, some applications/frameworks log to stderr or stdout, |
| 58 | # so prevent them from going to /dev/null when daemonized here: | 58 | # so prevent them from going to /dev/null when daemonized here: |
| 59 | -stderr_path "/opt/git/gitlab/log/unicorn.stderr.log" | ||
| 60 | -stdout_path "/opt/git/gitlab/log/unicorn.stdout.log" | 59 | +stderr_path "/home/git/gitlab/log/unicorn.stderr.log" |
| 60 | +stdout_path "/home/git/gitlab/log/unicorn.stdout.log" | ||
| 61 | 61 | ||
| 62 | # combine Ruby 2.0.0dev or REE with "preload_app true" for memory savings | 62 | # combine Ruby 2.0.0dev or REE with "preload_app true" for memory savings |
| 63 | # http://rubyenterpriseedition.com/faq.html#adapt_apps_for_cow | 63 | # http://rubyenterpriseedition.com/faq.html#adapt_apps_for_cow |