debian-mirror-gitlab/debian/patches/tweaks/0030-fix-gitlab-yml-path.patch

14 lines
431 B
Diff
Raw Normal View History

2020-04-13 13:49:04 +05:30
Fix for debian package layout
--- a/config/settings.rb
+++ b/config/settings.rb
2021-10-28 01:36:19 +05:30
@@ -4,7 +4,7 @@
require 'digest/md5'
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