Archived
Fixed usage of old logging directory.
This commit is contained in:
+3
-3
@@ -3,8 +3,8 @@ timeout 15
|
|||||||
preload_app true
|
preload_app true
|
||||||
|
|
||||||
|
|
||||||
stderr_path "/home/www-data/apps/redstoner/shared/log/unicorn.stderr.log"
|
stderr_path "/var/www/redstoner/shared/log/unicorn.stderr.log"
|
||||||
stdout_path "/home/www-data/apps/redstoner/shared/log/unicorn.stdout.log"
|
stdout_path "/var/www/redstoner/shared/log/unicorn.stdout.log"
|
||||||
|
|
||||||
before_fork do |server, worker|
|
before_fork do |server, worker|
|
||||||
Signal.trap 'TERM' do
|
Signal.trap 'TERM' do
|
||||||
@@ -23,4 +23,4 @@ after_fork do |server, worker|
|
|||||||
|
|
||||||
defined?(ActiveRecord::Base) and
|
defined?(ActiveRecord::Base) and
|
||||||
ActiveRecord::Base.establish_connection
|
ActiveRecord::Base.establish_connection
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user