diff --git a/config/unicorn.rb b/config/unicorn.rb index c02d4ba..5c8a7ab 100644 --- a/config/unicorn.rb +++ b/config/unicorn.rb @@ -1,4 +1,4 @@ -root = "/home/redstoner/website/public" +root = "/var/rails_site/" working_directory root pid "#{root}/tmp/pids/unicorn.pid" stderr_path "#{root}/log/unicorn.log" diff --git a/config/unicorn_init.sh b/config/unicorn_init.sh index 7ab5453..1eaeb86 100644 --- a/config/unicorn_init.sh +++ b/config/unicorn_init.sh @@ -12,7 +12,7 @@ set -e # Feel free to change any of the following variables for your app: TIMEOUT="${TIMEOUT-60}" -APP_ROOT="/home/redstoner/website/public" +APP_ROOT="/var/rails_site/" PID="$APP_ROOT/tmp/pids/unicorn.pid" CMD="cd $APP_ROOT; bundle exec unicorn -D -c $APP_ROOT/config/unicorn.rb -E production" AS_USER="www-data"