Fix path tmp/backup to tmp/backups in previous commit
This commit is contained in:
parent
361bdbb4b2
commit
48bb63180b
2 changed files with 3 additions and 3 deletions
2
debian/conf/tmpfiles.d/gitlab.conf
vendored
2
debian/conf/tmpfiles.d/gitlab.conf
vendored
|
@ -1,2 +1,2 @@
|
||||||
L /run/gitlab/cache - - - - /var/cache/gitlab
|
L /run/gitlab/cache - - - - /var/cache/gitlab
|
||||||
L /run/gitlab/backup - - - - /var/lib/gitlab/backup
|
L /run/gitlab/backups - - - - /var/lib/gitlab/backups
|
||||||
|
|
4
debian/gitlab.postinst
vendored
4
debian/gitlab.postinst
vendored
|
@ -105,8 +105,8 @@ case "$1" in
|
||||||
runuser -u ${gitlab_user} -- sh -c "mkdir -p ${gitlab_data_dir}/.bundle"
|
runuser -u ${gitlab_user} -- sh -c "mkdir -p ${gitlab_data_dir}/.bundle"
|
||||||
# Create locale for app/assets/javascripts/locale
|
# Create locale for app/assets/javascripts/locale
|
||||||
runuser -u ${gitlab_user} -- sh -c "mkdir -p ${gitlab_data_dir}/locale"
|
runuser -u ${gitlab_user} -- sh -c "mkdir -p ${gitlab_data_dir}/locale"
|
||||||
# Create backup directory for tmp/backup symbolic link
|
# Create backup directory for tmp/backups symbolic link
|
||||||
runuser -u ${gitlab_user} -- sh -c "mkdir -p ${gitlab_data_dir}/backup"
|
runuser -u ${gitlab_user} -- sh -c "mkdir -p ${gitlab_data_dir}/backups"
|
||||||
# Create more required directories
|
# Create more required directories
|
||||||
mkdir -p ${gitlab_pid_path}
|
mkdir -p ${gitlab_pid_path}
|
||||||
chown ${gitlab_user}: ${gitlab_data_dir}/public ${gitlab_cache_path} \
|
chown ${gitlab_user}: ${gitlab_data_dir}/public ${gitlab_cache_path} \
|
||||||
|
|
Loading…
Reference in a new issue