Commit 967d42e0 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Fix unicorn init and config

parent 87f4e1f1
...@@ -21,7 +21,7 @@ worker_processes 2 ...@@ -21,7 +21,7 @@ worker_processes 2
# Help ensure your application will always spawn in the symlinked # Help ensure your application will always spawn in the symlinked
# "current" directory that Capistrano sets up. # "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, # listen on both a Unix domain socket and a TCP port,
# we use a shorter backlog for quicker failover when busy # we use a shorter backlog for quicker failover when busy
......
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
APP_ROOT="/home/git/gitlab" APP_ROOT="/home/git/gitlab"
APP_USER="git" 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" PID_PATH="$APP_ROOT/tmp/pids"
SOCKET_PATH="$APP_ROOT/tmp/sockets" SOCKET_PATH="$APP_ROOT/tmp/sockets"
WEB_SERVER_PID="$PID_PATH/unicorn.pid" WEB_SERVER_PID="$PID_PATH/unicorn.pid"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment