OSDN Git Service

Fix unicorn init and config
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Mon, 8 Jul 2013 16:28:59 +0000 (19:28 +0300)
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Mon, 8 Jul 2013 16:28:59 +0000 (19:28 +0300)
config/unicorn.rb.example
lib/support/init.d/gitlab_unicorn

index 00c509d..e010de6 100644 (file)
@@ -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
index 2b26a96..219776c 100644 (file)
@@ -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"