added capistrano; more production changes
This commit is contained in:
2
config/unicorn_init.sh
Normal file → Executable file
2
config/unicorn_init.sh
Normal file → Executable 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"
|
||||
|
||||
Reference in New Issue
Block a user