move tmp to /run/gitlab

This commit is contained in:
Praveen Arimbrathodiyil 2016-02-18 17:18:11 +05:30
parent bd3d98ef0a
commit 01dab416e5
3 changed files with 2 additions and 4 deletions

3
debian/gitlab.links vendored
View file

@ -1,7 +1,6 @@
var/lib/gitlab/uploads usr/share/gitlab/public/uploads
var/log/gitlab usr/share/gitlab/log
run/gitlab usr/share/gitlab/tmp/pids
run/gitlab usr/share/gitlab/tmp/sockets
run/gitlab usr/share/gitlab/tmp
etc/gitlab usr/share/gitlab/config
usr/share/javascript/jquery-history/jquery.history.min.js usr/share/gitlab/vendor/assets/javascripts/jquery.history.js
usr/share/javascript/jquery-cookie/jquery.cookie.min.js usr/share/gitlab/vendor/assets/javascripts/jquery.cookie.js

1
debian/install vendored
View file

@ -36,6 +36,5 @@ README.md usr/share/gitlab
scripts usr/share/gitlab
shared usr/share/gitlab
spec usr/share/gitlab
tmp usr/share/gitlab
vendor usr/share/gitlab
VERSION usr/share/gitlab

View file

@ -1,6 +1,6 @@
ucount=$(ls -1 | wc -l)
dcount=$(cat debian/install |cut -d' ' -f1|grep -v debian |wc -l)
ignored=6
ignored=7
if ! [ $(echo "$ucount" - "$dcount"|bc) -eq $ignored ]; then
echo "Found new files added by upstream and not added to debian/install"
echo "Add them to debian/install or adjust 'ignored=${ignored}'"