diff --git a/config/unicorn/en.rb b/config/unicorn/en.rb index dca4218..509b7b9 100644 --- a/config/unicorn/en.rb +++ b/config/unicorn/en.rb @@ -4,6 +4,7 @@ worker_processes 1 preload_app true timeout 180 listen '/tmp/unicorn_wblog_en.sock' +pid "#{app_path}/shared/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 e639939..c6a6591 100644 --- a/config/unicorn/zh.rb +++ b/config/unicorn/zh.rb @@ -4,6 +4,7 @@ worker_processes 1 preload_app true timeout 180 listen '/tmp/unicorn_wblog_zh.sock' +pid "#{app_path}/shared/tmp/pids/unicorn.pid" user 'ruby', 'ruby' stderr_path "log/unicorn.log" stdout_path "log/unicorn.log"