Permalink
Browse files

update apps directory location for deploys

  • Loading branch information...
1 parent 1fd24dc commit bcf8d5114a5420a342301d06e72884040aa76bd4 @molawson committed Jan 21, 2013
Showing with 3 additions and 3 deletions.
  1. +1 −1 config/nginx.conf
  2. +1 −1 config/unicorn.rb
  3. +1 −1 config/unicorn_init.sh
View
@@ -5,7 +5,7 @@ upstream unicorn {
server {
listen 80 default deferred;
# server_name example.com;
- root /var/apps/molawson/current/public;
+ root /srv/apps/molawson/current/public;
location ^~ /assets/ {
gzip_static on;
View
@@ -1,4 +1,4 @@
-root = "/var/apps/molawson/current"
+root = "/srv/apps/molawson/current"
working_directory root
pid "#{root}/tmp/pids/unicorn.pid"
stderr_path "#{root}/log/unicorn.log"
View
@@ -12,7 +12,7 @@ set -e
# Feel free to change any of the following variables for your app:
TIMEOUT=${TIMEOUT-60}
-APP_ROOT=/var/apps/molawson/current
+APP_ROOT=/srv/apps/molawson/current
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=deploy

0 comments on commit bcf8d51

Please sign in to comment.