[DRE-commits] [gitlab] 02/02: create cache in /var/lib/gitlab
Praveen Arimbrathodiyil
praveen at moszumanska.debian.org
Thu Feb 18 17:13:18 UTC 2016
This is an automated email from the git hooks/post-receive script.
praveen pushed a commit to branch master
in repository gitlab.
commit 3b26830969494dc2af9086239a66e1a397a3fce0
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date: Thu Feb 18 22:42:43 2016 +0530
create cache in /var/lib/gitlab
---
debian/gitlab.links | 1 +
debian/postinst | 5 +++--
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/debian/gitlab.links b/debian/gitlab.links
index da62ed6..e3ceaad 100644
--- a/debian/gitlab.links
+++ b/debian/gitlab.links
@@ -1,4 +1,5 @@
var/lib/gitlab/public usr/share/gitlab/public
+var/lib/gitlab/cache usr/share/gitlab/shared/cache
var/log/gitlab usr/share/gitlab/log
run/gitlab usr/share/gitlab/tmp
etc/gitlab usr/share/gitlab/config
diff --git a/debian/postinst b/debian/postinst
index 2ebf3a0..7be9080 100755
--- a/debian/postinst
+++ b/debian/postinst
@@ -40,11 +40,12 @@ case "$1" in
. /usr/lib/gitlab/scripts/adduser.sh
gitlab_repo_path=${gitlab_data_dir}/repositories
+ gitlab_cache_path=${gitlab_data_dir}/cache
gitlab_uploads_path=${gitlab_data_dir}/public/uploads
# Create directories and change ownership
- for i in ${gitlab_repo_path} ${gitlab_uploads_path} ${gitlab_pid_path}\
- ${gitlab_log_dir} ${gitlab_shell_log}; do
+ for i in ${gitlab_repo_path} ${gitlab_cache_path} ${gitlab_uploads_path}\
+ ${gitlab_pid_path} ${gitlab_log_dir} ${gitlab_shell_log}; do
mkdir -p $i
chown -R ${gitlab_user}: $i
done
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/gitlab.git
More information about the Pkg-ruby-extras-commits
mailing list