From 2614237393b1939178b13d2eccf6af1ed73f95d3 Mon Sep 17 00:00:00 2001 From: Praveen Arimbrathodiyil Date: Tue, 3 Nov 2015 18:04:55 +0530 Subject: [PATCH] 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 2dc6f89c23..fdd72cbf35 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;" || {