Create target file of secrets.yml symbolic link
This commit is contained in:
parent
a7e56fdfcc
commit
f01e92ca67
1 changed files with 1 additions and 0 deletions
1
debian/rake-tasks.sh
vendored
1
debian/rake-tasks.sh
vendored
|
@ -18,6 +18,7 @@ if [ "$db_relations" = "No relations found." ] || \
|
|||
"cp ${gitlab_data_dir}/db/schema.rb.template ${gitlab_data_dir}/db/schema.rb"
|
||||
runuser -u ${gitlab_user} -- sh -c \
|
||||
"touch ${gitlab_data_dir}/.gitlab_shell_secret"
|
||||
runuser -u ${gitlab_user} -- sh -c 'touch /var/lib/gitlab/secrets.yml'
|
||||
runuser -u ${gitlab_user} -- sh -c '/usr/bin/bundle exec rake db:schema:load'
|
||||
else
|
||||
echo "gitlab_production database is not empty, skipping gitlab setup"
|
||||
|
|
Loading…
Reference in a new issue