Commit d3e1a56c authored by Shinya Maeda's avatar Shinya Maeda

Merge branch 'fix-logrotate-su-parameter' into 'master'

Make logrotate run as git user for source installations

Closes #205227

See merge request gitlab-org/gitlab!35519
parents 8ae39123 6a20fd1f
---
title: Make logrotate run as git user for source installations
merge_request: 35519
author:
type: security
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment