summarylogtreecommitdiffstats
path: root/gitlab.logrotate
diff options
context:
space:
mode:
authorSergey Shatunov2016-11-06 03:37:02 +0700
committerSergey Shatunov2016-11-06 03:37:02 +0700
commitd1e122af0f4173ef9bb93106af1c47c281deb030 (patch)
treed7029dac0804c4c3a9886f91d5297dcb84deccfd /gitlab.logrotate
downloadaur-d1e122af0f4173ef9bb93106af1c47c281deb030.tar.gz
Initial release
Diffstat (limited to 'gitlab.logrotate')
-rw-r--r--gitlab.logrotate11
1 files changed, 11 insertions, 0 deletions
diff --git a/gitlab.logrotate b/gitlab.logrotate
new file mode 100644
index 000000000000..132b8df30a05
--- /dev/null
+++ b/gitlab.logrotate
@@ -0,0 +1,11 @@
+# GitLab logrotate settings
+# based on: http://stackoverflow.com/a/4883967
+
+<LOGDIR>/*.log {
+ daily
+ missingok
+ rotate 90
+ compress
+ notifempty
+ copytruncate
+}