From 43f21d6e55256b0ad161a91a39dfc702aba66574 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonne=20Ha=C3=9F?= Date: Tue, 5 Mar 2013 23:37:51 +0100 Subject: [PATCH] Pass the real values to stderr_path and stdout_path in unicorn.rb since it runs a case statement on them --- Changelog.md | 1 + config/unicorn.rb | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Changelog.md b/Changelog.md index 89409a31f..e6e771799 100644 --- a/Changelog.md +++ b/Changelog.md @@ -6,6 +6,7 @@ * avoid posting empty comments. [#3836](https://github.com/diaspora/diaspora/issues/3836) * Delegate parent_author to the target of a RelayableRetraction * Do not fail on receiving a SignedRetraction via the public route +* Pass the real values to stderr_path and stdout_path in unicorn.rb since it runs a case statement on them. ## Refactor diff --git a/config/unicorn.rb b/config/unicorn.rb index 3610271b3..b63d252e9 100644 --- a/config/unicorn.rb +++ b/config/unicorn.rb @@ -21,11 +21,11 @@ timeout 30 #listen '/var/run/diaspora/diaspora.sock', :backlog => 2048 if AppConfig.server.stderr_log.present? - stderr_path AppConfig.server.stderr_log + stderr_path AppConfig.server.stderr_log.get end if AppConfig.server.stdout_log.present? - stdout_path AppConfig.server.stdout_log + stdout_path AppConfig.server.stdout_log.get end before_fork do |server, worker|