added capistrano; more production changes

This commit is contained in:
jomo
2014-06-24 23:04:24 +02:00
parent 1eecb530c3
commit a2ff7068c0
8 changed files with 177 additions and 4 deletions

2
config/unicorn_init.sh Normal file → Executable file
View File

@@ -12,7 +12,7 @@ set -e
# Feel free to change any of the following variables for your app:
TIMEOUT="${TIMEOUT-60}"
APP_ROOT="/var/rails_site/"
APP_ROOT="/home/www-data/apps/redstoner"
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"