2014-09-02 18:07:02 +05:30
|
|
|
# GitLab logrotate settings
|
|
|
|
# based on: http://stackoverflow.com/a/4883967
|
|
|
|
|
|
|
|
/home/git/gitlab/log/*.log {
|
2020-07-28 23:09:34 +05:30
|
|
|
su git git
|
2014-09-02 18:07:02 +05:30
|
|
|
daily
|
|
|
|
missingok
|
|
|
|
rotate 90
|
|
|
|
compress
|
|
|
|
notifempty
|
|
|
|
copytruncate
|
|
|
|
}
|
|
|
|
|
|
|
|
/home/git/gitlab-shell/gitlab-shell.log {
|
2020-07-28 23:09:34 +05:30
|
|
|
su git git
|
2014-09-02 18:07:02 +05:30
|
|
|
daily
|
|
|
|
missingok
|
|
|
|
rotate 90
|
|
|
|
compress
|
|
|
|
notifempty
|
|
|
|
copytruncate
|
|
|
|
}
|