summaryrefslogtreecommitdiff
path: root/doc/update/6.6-to-6.7.md
diff options
context:
space:
mode:
authorJacob Vosmaer <contact@jacobvosmaer.nl>2014-05-16 10:10:31 +0200
committerJacob Vosmaer <contact@jacobvosmaer.nl>2014-05-16 10:10:31 +0200
commit00a482511c20dc427b10629e8a1c993472dae2b6 (patch)
treef295224f43449ced65daa1c496851293ec7a0ba6 /doc/update/6.6-to-6.7.md
parent474ae8a6877744108e256e5aacfffb815ce56583 (diff)
downloadgitlab-ce-00a482511c20dc427b10629e8a1c993472dae2b6.tar.gz
Clean up *.log.1 files during 6.6-to-6.7 upgrade
Diffstat (limited to 'doc/update/6.6-to-6.7.md')
-rw-r--r--doc/update/6.6-to-6.7.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/update/6.6-to-6.7.md b/doc/update/6.6-to-6.7.md
index 0f39c037c9f..61a63057d08 100644
--- a/doc/update/6.6-to-6.7.md
+++ b/doc/update/6.6-to-6.7.md
@@ -64,6 +64,10 @@ sudo cp lib/support/init.d/gitlab /etc/init.d/gitlab
# Update the logrotate configuration (keep logs for 90 days instead of 52 weeks)
sudo cp lib/support/logrotate/gitlab /etc/logrotate.d/gitlab
+# Compress existing .log.1 files because we turned off delaycompress in logrotate
+sudo -u git -H gzip /home/git/gitlab/log/*.log.1
+sudo -u git -H gzip /home/git/gitlab-shell/gitlab-shell.log.1
+
# Close access to gitlab-satellites for others
sudo chmod u+rwx,g+rx,o-rwx /home/git/gitlab-satellites
```