Commit 6ce00b738ebdd23d558b86f08ea1b515ca56c3db

Authored by Valeriy Sizov
2 parents 3ac9c3ad 6aabf115

Merge pull request #631 from abevoelker/move-unicorn-unix-socket

Move Unicorn unix socket out of /tmp
Showing 2 changed files with 2 additions and 2 deletions   Show diff stats
config/unicorn.rb.orig
... ... @@ -13,7 +13,7 @@ timeout 30
13 13  
14 14 #listen 8080 # listen to port 8080 on all TCP interfaces
15 15 #listen "127.0.0.1:8080" # listen to port 8080 on the loopback interface
16   -listen "/tmp/gitlab.socket"
  16 +listen "#{app_dir}/tmp/sockets/gitlab.socket"
17 17  
18 18 pid "#{app_dir}/tmp/pids/unicorn.pid"
19 19 stderr_path "#{app_dir}/log/unicorn.stderr.log"
... ...
doc/installation.md
... ... @@ -220,7 +220,7 @@ Application can be started with next command:
220 220 Edit /etc/nginx/nginx.conf. Add next code to **http** section:
221 221  
222 222 upstream gitlab {
223   - server unix:/tmp/gitlab.socket;
  223 + server unix:/home/gitlab/gitlab/tmp/sockets/gitlab.socket;
224 224 }
225 225  
226 226 server {
... ...