From 8cc9bfc694d22cfbed14b7238adc6df826f803f5 Mon Sep 17 00:00:00 2001 From: Nicolas Bally Date: Sun, 17 May 2015 21:25:49 +0200 Subject: [PATCH] unicorn sock --- config/nginx.conf | 2 +- config/unicorn_init_d | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config/nginx.conf b/config/nginx.conf index 0797963..19c9b95 100644 --- a/config/nginx.conf +++ b/config/nginx.conf @@ -1,5 +1,5 @@ upstream blog_perso_app_unicorn { - server unix:/home/web/blog_perso_app/shared/tmp/unicorn.sock fail_timeout=0; + server unix:/home/web/blog_perso_app/shared/unicorn.sock fail_timeout=0; } server { diff --git a/config/unicorn_init_d b/config/unicorn_init_d index a8fd61e..42f2776 100755 --- a/config/unicorn_init_d +++ b/config/unicorn_init_d @@ -8,7 +8,7 @@ set -e APP_NAME=blog_perso_app APP_RUBY=2.1.2 APP_ROOT="/home/web/blog_perso_app/current" -PID="/home/web/blog_perso_app/shared/tmp/unicorn.pid" +PID="/home/web/blog_perso_app/shared/unicorn.pid" ENV=production GEM_HOME="/home/web/.rvm/gems/ruby-$APP_RUBY"