use tmpfiles.d for symlink

This commit is contained in:
Praveen Arimbrathodiyil 2016-06-03 13:43:03 +05:30
parent 0e15a8af4b
commit e7d06e85c2
3 changed files with 3 additions and 1 deletions

View file

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

2
debian/changelog vendored
View file

@ -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@debian.org> Thu, 02 Jun 2016 22:27:15 +0530

View file

@ -1 +1,2 @@
d /run/gitlab 2750 gitlab www-data -
L /run/gitlab/cache - - - - /var/lib/gitlab/cache