[DRE-commits] [gitlab] 19/23: use tmpfiles.d for symlink

Praveen Arimbrathodiyil praveen at moszumanska.debian.org
Fri Jun 3 12:52:42 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 e7d06e85c23c8b66ca5951436339afc2857ad43e
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date:   Fri Jun 3 13:43:03 2016 +0530

    use tmpfiles.d for symlink
---
 debian/README.Debian               | 1 +
 debian/changelog                   | 2 +-
 debian/conf/tmpfiles.d/gitlab.conf | 1 +
 3 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/debian/README.Debian b/debian/README.Debian
index 8f2adae..8ac6063 100644
--- a/debian/README.Debian
+++ b/debian/README.Debian
@@ -37,6 +37,7 @@ links are added to enable write access to gitlab app
 > log -> /var/log/gitlab
 > builds -> /var/log/gitlab/builds
 > tmp -> /run/gitlab
+> /run/gitlab/cache -> var/lib/gitlab/cache
 > public -> /var/lib/gitlab/public
 > shared -> /var/lib/gitlab/shared
 > db -> /var/lib/gitlab/db
diff --git a/debian/changelog b/debian/changelog
index 4fbf64c..9f1fe74 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -6,7 +6,7 @@ gitlab (8.8.2+dfsg-1) unstable; urgency=medium
   * Enable the pg_trgm extension for postgresql
   * Check if nginx site configuration directory is present before copying
     (Closes: #821085)
-  * Symlink tmp/cache to /var/lib/gitlab/tmp/cache (or /run gets filled up)
+  * Symlink /run/gitlab/cache to /var/lib/gitlab/cache (or /run gets filled up)
 
  -- Pirate Praveen <praveen at debian.org>  Thu, 02 Jun 2016 22:27:15 +0530
 
diff --git a/debian/conf/tmpfiles.d/gitlab.conf b/debian/conf/tmpfiles.d/gitlab.conf
index 0a010e9..3265fd2 100644
--- a/debian/conf/tmpfiles.d/gitlab.conf
+++ b/debian/conf/tmpfiles.d/gitlab.conf
@@ -1 +1,2 @@
 d /run/gitlab 2750 gitlab www-data -
+L /run/gitlab/cache - - - - /var/lib/gitlab/cache

-- 
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