Skip to content

Commit

Permalink
Fix unicorn init and config
Browse files Browse the repository at this point in the history
  • Loading branch information
dzaporozhets committed Jul 8, 2013
1 parent 87f4e1f commit 967d42e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion config/unicorn.rb.example
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion lib/support/init.d/gitlab_unicorn
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 967d42e

Please sign in to comment.