Make db/structure.sql writable by gitlab user

This commit is contained in:
Pirate Praveen 2020-04-22 23:48:22 +05:30
parent c3aeb112bd
commit 579d544110

View file

@ -129,6 +129,9 @@ case "$1" in
# Make yarn.lock writable
chown ${gitlab_user}: /var/lib/gitlab/yarn.lock
# Make db/structure.sql writable
chown ${gitlab_user}: /var/lib/gitlab/db/structure.sql
runuser -u ${gitlab_user} -- sh -c "chmod 700 ${gitlab_uploads_path}"
runuser -u ${gitlab_user} -- sh -c 'git config --global core.autocrlf "input"'