fix permissions for .gitlab_shell_secret
This commit is contained in:
parent
ea679071f8
commit
46c7d8d897
1 changed files with 2 additions and 1 deletions
3
debian/rake-tasks.sh
vendored
3
debian/rake-tasks.sh
vendored
|
@ -16,7 +16,8 @@ if [ "$db_relations" = "No relations found." ] || \
|
|||
test -f ${gitlab_home}/db/schema.rb || \
|
||||
runuser -u ${gitlab_user} -- sh -c \
|
||||
"cp ${gitlab_data_dir}/db/schema.rb.template ${gitlab_data_dir}/db/schema.rb"
|
||||
touch ${gitlab_data_dir}/.gitlab_shell_secret
|
||||
runuser -u ${gitlab_user} -- sh -c \
|
||||
"touch ${gitlab_data_dir}/.gitlab_shell_secret"
|
||||
runuser -u ${gitlab_user} -- sh -c 'bundle exec rake db:schema:load'
|
||||
else
|
||||
echo "gitlab_production database is not empty, skipping gitlab setup"
|
||||
|
|
Loading…
Reference in a new issue