Skip to content
Extraits de code Groupes Projets
Valider 43f21d6e rédigé par Jonne Haß's avatar Jonne Haß
Parcourir les fichiers

Pass the real values to stderr_path and stdout_path in unicorn.rb since it...

Pass the real values to stderr_path and stdout_path in unicorn.rb since it runs a case statement on them
parent d02e9b72
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -6,6 +6,7 @@ ...@@ -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 ...@@ -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|
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Veuillez vous inscrire ou vous pour commenter