mirror of
https://github.com/sameersbn/docker-gitlab.git
synced 2026-01-18 13:58:25 +00:00
install: fix log rotation configuration
This commit is contained in:
parent
818df74e1c
commit
8c5d22e67e
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user