From 498aa0360630eb8fcd562f5fb3b910828577db34 Mon Sep 17 00:00:00 2001 From: jomo Date: Mon, 23 Jun 2014 19:20:40 +0200 Subject: [PATCH] adjust new path --- config/unicorn.rb | 2 +- config/unicorn_init.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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"