From 1a773563d8ff751bae23a9d02df29d90354b4570 Mon Sep 17 00:00:00 2001 From: yafeilee Date: Wed, 8 Apr 2015 00:41:49 +0800 Subject: [PATCH] fix unicorn pid path again --- config/unicorn/en.rb | 2 +- config/unicorn/zh.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config/unicorn/en.rb b/config/unicorn/en.rb index 509b7b9..52bccd4 100644 --- a/config/unicorn/en.rb +++ b/config/unicorn/en.rb @@ -4,7 +4,7 @@ worker_processes 1 preload_app true timeout 180 listen '/tmp/unicorn_wblog_en.sock' -pid "#{app_path}/shared/tmp/pids/unicorn.pid" +pid "#{app_path}/tmp/pids/unicorn.pid" user 'ruby', 'ruby' stderr_path "log/unicorn.log" stdout_path "log/unicorn.log" diff --git a/config/unicorn/zh.rb b/config/unicorn/zh.rb index c6a6591..75a4417 100644 --- a/config/unicorn/zh.rb +++ b/config/unicorn/zh.rb @@ -4,7 +4,7 @@ worker_processes 1 preload_app true timeout 180 listen '/tmp/unicorn_wblog_zh.sock' -pid "#{app_path}/shared/tmp/pids/unicorn.pid" +pid "#{app_path}/tmp/pids/unicorn.pid" user 'ruby', 'ruby' stderr_path "log/unicorn.log" stdout_path "log/unicorn.log"