summaryrefslogtreecommitdiff
path: root/lib/support/logrotate/gitlab
diff options
context:
space:
mode:
Diffstat (limited to 'lib/support/logrotate/gitlab')
-rw-r--r--lib/support/logrotate/gitlab2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/support/logrotate/gitlab b/lib/support/logrotate/gitlab
index d9b07b61ec3..c34db47e214 100644
--- a/lib/support/logrotate/gitlab
+++ b/lib/support/logrotate/gitlab
@@ -2,6 +2,7 @@
# based on: http://stackoverflow.com/a/4883967
/home/git/gitlab/log/*.log {
+ su git git
daily
missingok
rotate 90
@@ -11,6 +12,7 @@
}
/home/git/gitlab-shell/gitlab-shell.log {
+ su git git
daily
missingok
rotate 90