Skip to content

Commit

Permalink
Update deploy process
Browse files Browse the repository at this point in the history
Conflicts:
	config/deploy.rb
  • Loading branch information
lgn21st committed May 6, 2014
1 parent ac004a8 commit c737f05
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion config/deploy.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,13 @@
set :repository, 'https://github.com/peatio/peatio.git'

set :shared_paths, [
'config/unicorn_peatio.sh',
'config/database.yml',
'config/application.yml',
'config/currencies.yml',
'config/markets.yml',
'config/amqp.yml',
'config/deposit_channels.yml',
'config/withdraw_channels.yml',
'tmp',
'log'
]
Expand Down
2 changes: 1 addition & 1 deletion config/unicorn.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

# This is where we specify the socket.
# We will point the upstream Nginx module to this socket later on
listen "/tmp/unicorn.sock", :backlog => 64
listen "#{APP_DIR}/tmp/sockets/unicorn.sock", :backlog => 64

# nuke workers after 30 seconds instead of 60 seconds (the default)
timeout 30
Expand Down

0 comments on commit c737f05

Please sign in to comment.