update quotes
This commit is contained in:
parent
801c0bccf6
commit
945b5ce7f9
1 changed files with 2 additions and 2 deletions
4
debian/grantpriv.sh
vendored
4
debian/grantpriv.sh
vendored
|
@ -8,14 +8,14 @@ dbname=gitlab_production
|
|||
if ! su gitlab -c 'psql gitlab_production -c ""'
|
||||
then
|
||||
echo "Create $user user with create database privillege..."
|
||||
su postgres -c 'psql -c "CREATE USER $user CREATEDB;"' || {
|
||||
su postgres -c "psql -c \"CREATE USER $user CREATEDB;\"" || {
|
||||
exit 1
|
||||
}
|
||||
fi
|
||||
|
||||
# By default the gitlab_prodcution is not owned by gitlab user
|
||||
echo "Make $user user owner of $dbname database..."
|
||||
su postgres -c 'psql -c "ALTER DATABASE $dbname OWNER to $user;"' || {
|
||||
su postgres -c "psql -c \"ALTER DATABASE $dbname OWNER to $user;\"" || {
|
||||
exit 1
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue