debian-mirror-gitlab/debian/patches/tweaks/0030-fix-gitlab-yml-path.patch
2022-07-29 14:51:45 +02:00

13 lines
434 B
Diff

Fix for debian package layout
--- a/config/settings.rb
+++ b/config/settings.rb
@@ -3,7 +3,7 @@
require 'settingslogic'
class Settings < Settingslogic
- source ENV.fetch('GITLAB_CONFIG') { Pathname.new(File.expand_path('..', __dir__)).join('config/gitlab.yml') }
+ source ENV.fetch('GITLAB_CONFIG') { Pathname.new(File.expand_path('gitlab.yml', __dir__)) }
namespace ENV.fetch('GITLAB_ENV') { Rails.env }
class << self