Commit 967d42e0c8701c82d7d7494b1fd1d96cd4f2973f

Authored by Dmitriy Zaporozhets
1 parent 87f4e1f1

Fix unicorn init and config

config/unicorn.rb.example
... ... @@ -21,7 +21,7 @@ worker_processes 2
21 21  
22 22 # Help ensure your application will always spawn in the symlinked
23 23 # "current" directory that Capistrano sets up.
24   -working_directory "/home/git/gitlab/current" # available in 0.94.0+
  24 +working_directory "/home/git/gitlab" # available in 0.94.0+
25 25  
26 26 # listen on both a Unix domain socket and a TCP port,
27 27 # we use a shorter backlog for quicker failover when busy
... ...
lib/support/init.d/gitlab_unicorn
... ... @@ -17,7 +17,7 @@
17 17  
18 18 APP_ROOT="/home/git/gitlab"
19 19 APP_USER="git"
20   -DAEMON_OPTS="-C $APP_ROOT/config/unicorn.rb -E production"
  20 +DAEMON_OPTS="-c $APP_ROOT/config/unicorn.rb -E production"
21 21 PID_PATH="$APP_ROOT/tmp/pids"
22 22 SOCKET_PATH="$APP_ROOT/tmp/sockets"
23 23 WEB_SERVER_PID="$PID_PATH/unicorn.pid"
... ...