[DRE-commits] [gitlab] 01/02: gitlab user needs shell argument

Praveen Arimbrathodiyil praveen at moszumanska.debian.org
Tue Nov 3 12:41:33 UTC 2015


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

praveen pushed a commit to branch master
in repository gitlab.

commit 2614237393b1939178b13d2eccf6af1ed73f95d3
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date:   Tue Nov 3 18:04:55 2015 +0530

    gitlab user needs shell argument
---
 debian/grantpriv.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/grantpriv.sh b/debian/grantpriv.sh
index 2dc6f89..fdd72cb 100755
--- a/debian/grantpriv.sh
+++ b/debian/grantpriv.sh
@@ -3,7 +3,7 @@
 user=gitlab
 dbname=gitlab_production
 
-if ! su gitlab -c 'psql gitlab_production -c ""'
+if ! su gitlab -s /bin/sh -c 'psql gitlab_production -c ""'
 then
 	echo "Create $user user with create database privillege..."
 	sudo -u postgres psql -c "CREATE USER $user CREATEDB;" || {

-- 
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