Pass the real values to stderr_path and stdout_path in unicorn.rb since it runs a case statement on them
This commit is contained in:
parent
d02e9b72c2
commit
43f21d6e55
2 changed files with 3 additions and 2 deletions
|
|
@ -6,6 +6,7 @@
|
||||||
* avoid posting empty comments. [#3836](https://github.com/diaspora/diaspora/issues/3836)
|
* avoid posting empty comments. [#3836](https://github.com/diaspora/diaspora/issues/3836)
|
||||||
* Delegate parent_author to the target of a RelayableRetraction
|
* Delegate parent_author to the target of a RelayableRetraction
|
||||||
* Do not fail on receiving a SignedRetraction via the public route
|
* 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
|
## Refactor
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -21,11 +21,11 @@ timeout 30
|
||||||
#listen '/var/run/diaspora/diaspora.sock', :backlog => 2048
|
#listen '/var/run/diaspora/diaspora.sock', :backlog => 2048
|
||||||
|
|
||||||
if AppConfig.server.stderr_log.present?
|
if AppConfig.server.stderr_log.present?
|
||||||
stderr_path AppConfig.server.stderr_log
|
stderr_path AppConfig.server.stderr_log.get
|
||||||
end
|
end
|
||||||
|
|
||||||
if AppConfig.server.stdout_log.present?
|
if AppConfig.server.stdout_log.present?
|
||||||
stdout_path AppConfig.server.stdout_log
|
stdout_path AppConfig.server.stdout_log.get
|
||||||
end
|
end
|
||||||
|
|
||||||
before_fork do |server, worker|
|
before_fork do |server, worker|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue