[DRE-commits] [gitlab] 01/02: export all varibales in gitlab-debian.conf

Praveen Arimbrathodiyil praveen at moszumanska.debian.org
Mon Jun 5 16:30:53 UTC 2017


This is an automated email from the git hooks/post-receive script.

praveen pushed a commit to branch master
in repository gitlab.

commit 536948887f32f2e3300a3c53d5392d70144300cd
Author: Pirate Praveen <praveen at debian.org>
Date:   Mon Jun 5 21:58:04 2017 +0530

    export all varibales in gitlab-debian.conf
---
 debian/conf/gitlab | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/debian/conf/gitlab b/debian/conf/gitlab
index c1c86e8..9918667 100755
--- a/debian/conf/gitlab
+++ b/debian/conf/gitlab
@@ -10,6 +10,11 @@ RAILS_ENV="production"
 # Read debian specific configuration
 . /etc/gitlab/gitlab-debian.conf
 
+for i in $(grep -v '#' /etc/gitlab/gitlab-debian.conf | cut -d= -f 1)
+do
+  export $i
+done
+
 # app_user defines the user that GitLab is run as.
 # The default is "git".
 app_user=${gitlab_user}

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/gitlab.git



More information about the Pkg-ruby-extras-commits mailing list