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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

13 lines
358 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
2023-07-09 09:48:07 +05:30
@@ -1,6 +1,6 @@
# frozen_string_literal: true
2023-07-09 09:48:07 +05:30
-require_relative '../lib/gitlab_settings'
+require_relative '/usr/share/gitlab/lib/gitlab_settings'
2023-07-09 09:48:07 +05:30
file = ENV.fetch('GITLAB_CONFIG') { Rails.root.join('config/gitlab.yml') }
section = ENV.fetch('GITLAB_ENV') { Rails.env }