fix yarn-error.log path

This commit is contained in:
Pirate Praveen 2018-03-21 18:22:18 +05:30
parent 22022c4cbb
commit 8a12bacaba
2 changed files with 2 additions and 2 deletions

2
debian/gitlab.links vendored
View file

@ -3,13 +3,13 @@ var/lib/gitlab/shared usr/share/gitlab/shared
var/lib/gitlab/db usr/share/gitlab/db
var/lib/gitlab/node_modules usr/share/gitlab/node_modules
var/lib/gitlab/yarn.lock usr/share/gitlab/yarn.lock
var/lib/gitlab/yarn-error.log usr/share/gitlab/yarn-error.log
var/lib/gitlab/.ssh usr/share/gitlab/.ssh
var/lib/gitlab/.bundle usr/share/gitlab/.bundle
var/lib/gitlab/secrets.yml etc/gitlab/secrets.yml
var/lib/gitlab/locale usr/share/gitlab/app/assets/javascripts/locale
usr/share/gitlab/app/assets/javascripts/locale.static/index.js var/lib/gitlab/locale/index.js
var/log/gitlab usr/share/gitlab/log
var/log/gitlab/yarn-error.log usr/share/gitlab/yarn-error.log
var/log/gitlab/builds usr/share/gitlab/builds
run/gitlab usr/share/gitlab/tmp
etc/gitlab usr/share/gitlab/config

2
debian/postinst vendored
View file

@ -76,7 +76,7 @@ runuser -u ${gitlab_user} -- sh -c "touch ${gitlab_data_dir}/Gemfile.lock && \
truncate -s 0 ${gitlab_data_dir}/Gemfile.lock"
runuser -u ${gitlab_user} -- sh -c "touch ${gitlab_data_dir}/yarn.lock && \
truncate -s 0 ${gitlab_data_dir}/yarn.lock"
runuser -u ${gitlab_user} -- sh -c "touch ${gitlab_log_dir}/yarn-error.log"
runuser -u ${gitlab_user} -- sh -c "touch ${gitlab_data_dir}/yarn-error.log"
cd ${gitlab_app_root}
if ! runuser -u ${gitlab_user} -- sh -c 'bundle --local --quiet'; then
if [ "$1" = "triggered" ]; then