fix unicorn pid path

This commit is contained in:
yafeilee 2015-04-08 00:37:55 +08:00
parent 44236edd2e
commit 4132fbaacd
2 changed files with 2 additions and 0 deletions

View File

@ -4,6 +4,7 @@ worker_processes 1
preload_app true preload_app true
timeout 180 timeout 180
listen '/tmp/unicorn_wblog_en.sock' listen '/tmp/unicorn_wblog_en.sock'
pid "#{app_path}/shared/tmp/pids/unicorn.pid"
user 'ruby', 'ruby' user 'ruby', 'ruby'
stderr_path "log/unicorn.log" stderr_path "log/unicorn.log"
stdout_path "log/unicorn.log" stdout_path "log/unicorn.log"

View File

@ -4,6 +4,7 @@ worker_processes 1
preload_app true preload_app true
timeout 180 timeout 180
listen '/tmp/unicorn_wblog_zh.sock' listen '/tmp/unicorn_wblog_zh.sock'
pid "#{app_path}/shared/tmp/pids/unicorn.pid"
user 'ruby', 'ruby' user 'ruby', 'ruby'
stderr_path "log/unicorn.log" stderr_path "log/unicorn.log"
stdout_path "log/unicorn.log" stdout_path "log/unicorn.log"