From 967d42e0c8701c82d7d7494b1fd1d96cd4f2973f Mon Sep 17 00:00:00 2001 From: Dmitriy Zaporozhets Date: Mon, 8 Jul 2013 19:28:59 +0300 Subject: [PATCH] Fix unicorn init and config --- config/unicorn.rb.example | 2 +- lib/support/init.d/gitlab_unicorn | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config/unicorn.rb.example b/config/unicorn.rb.example index 00c509d..e010de6 100644 --- a/config/unicorn.rb.example +++ b/config/unicorn.rb.example @@ -21,7 +21,7 @@ worker_processes 2 # Help ensure your application will always spawn in the symlinked # "current" directory that Capistrano sets up. -working_directory "/home/git/gitlab/current" # available in 0.94.0+ +working_directory "/home/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 diff --git a/lib/support/init.d/gitlab_unicorn b/lib/support/init.d/gitlab_unicorn index 2b26a96..219776c 100644 --- a/lib/support/init.d/gitlab_unicorn +++ b/lib/support/init.d/gitlab_unicorn @@ -17,7 +17,7 @@ APP_ROOT="/home/git/gitlab" APP_USER="git" -DAEMON_OPTS="-C $APP_ROOT/config/unicorn.rb -E production" +DAEMON_OPTS="-c $APP_ROOT/config/unicorn.rb -E production" PID_PATH="$APP_ROOT/tmp/pids" SOCKET_PATH="$APP_ROOT/tmp/sockets" WEB_SERVER_PID="$PID_PATH/unicorn.pid" -- libgit2 0.21.2