From d91112ff815384ebc679267c76c91fdaf7485e56 Mon Sep 17 00:00:00 2001 From: Pirate Praveen Date: Sun, 17 Sep 2017 22:13:29 +0530 Subject: [PATCH] fix gitlab-mailroom service --- debian/patches/fix-mail-room-path.patch | 10 ++++++++++ debian/patches/series | 1 + 2 files changed, 11 insertions(+) create mode 100644 debian/patches/fix-mail-room-path.patch diff --git a/debian/patches/fix-mail-room-path.patch b/debian/patches/fix-mail-room-path.patch new file mode 100644 index 0000000000..0eab53fc1d --- /dev/null +++ b/debian/patches/fix-mail-room-path.patch @@ -0,0 +1,10 @@ +--- a/config/mail_room.yml ++++ b/config/mail_room.yml +@@ -1,6 +1,6 @@ + :mailboxes: + <% +- require_relative "../lib/gitlab/mail_room" unless defined?(Gitlab::MailRoom) ++ require "/usr/share/gitlab/lib/gitlab/mail_room" unless defined?(Gitlab::MailRoom) + config = Gitlab::MailRoom.config + + if Gitlab::MailRoom.enabled? diff --git a/debian/patches/series b/debian/patches/series index 1d1e0d288c..3dd71e4920 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -15,3 +15,4 @@ pid-log-paths.patch 0410-set-webpack-root.patch 0420-use-system-libs.patch add-system-lib-path-for-webpack.patch +fix-mail-room-path.patch