install: fix log rotation configuration

This commit is contained in:
Sameer Naik 2015-01-13 21:30:18 +05:30
parent 818df74e1c
commit 8c5d22e67e
2 changed files with 3 additions and 2 deletions

View File

@ -3,6 +3,7 @@
**latest**
- init: added GOOGLE_ANALYTICS_ID configuration option
- added support for mantis issue tracker
- fixed log rotation configuration
**7.6.2**
- gitlab: upgrade to CE v.7.6.2

View File

@ -142,7 +142,7 @@ ${GITLAB_LOG_DIR}/gitlab/*.log {
EOF
# configure gitlab-shell log rotation
cat > /etc/logrotate.d/gitlab <<EOF
cat > /etc/logrotate.d/gitlab-shell <<EOF
${GITLAB_LOG_DIR}/gitlab-shell/*.log {
weekly
missingok
@ -155,7 +155,7 @@ ${GITLAB_LOG_DIR}/gitlab-shell/*.log {
EOF
# configure gitlab vhost log rotation
cat > /etc/logrotate.d/gitlab <<EOF
cat > /etc/logrotate.d/gitlab-nginx <<EOF
${GITLAB_LOG_DIR}/nginx/*.log {
weekly
missingok