Permalink
Browse files

change server info

  • Loading branch information...
1 parent cfd232b commit 43090786d0a8305669def731ad55c8d1582ff85d @mhfs committed May 4, 2013
Showing with 4 additions and 4 deletions.
  1. +2 −2 Capfile
  2. +2 −2 config/unicorn.rb
View
4 Capfile
@@ -8,11 +8,11 @@ load 'deploy' if respond_to?(:namespace)
default_run_options[:pty] = true
-set :user, 'cpfcnpj_mhfs_com_br'
+set :user, 'deployer'
set :application, 'cpfcnpj'
set :domain, "#{application}.mhfs.com.br"
set :repository, "git://github.com/mhfs/#{application}.git"
-set :deploy_to, "/home/#{domain}"
+set :deploy_to, "/home/deployer/apps/#{domain}"
set :deploy_via, :remote_cache
set :scm, 'git'
set :branch, 'master'
View
4 config/unicorn.rb
@@ -1,13 +1,13 @@
# Unicorn says to use at least one worker process per core (particularly on dedicated servers)
worker_processes 1
-APP_ROOT = "/home/cpfcnpj.mhfs.com.br/current"
+APP_ROOT = "/home/deployer/apps/cpfcnpj.mhfs.com.br/current"
# The root directory of you app
working_directory APP_ROOT
# The user which the workers will run under
-user 'cpfcnpj_mhfs_com_br', 'cpfcnpj_mhfs_com_br'
+user 'deployer', 'deployer'
# Load rails+github.git into the master before forking workers
# for super-fast worker spawn times

0 comments on commit 4309078

Please sign in to comment.