Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
6a20fd1f
Commit
6a20fd1f
authored
Jun 29, 2020
by
Balasankar "Balu" C
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make logrotate run as git user for source installations
Signed-off-by:
Balasankar "Balu" C
<
balasankarc@autistici.org
>
parent
bf8f3cd8
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
0 deletions
+7
-0
changelogs/unreleased/fix-logrotate-su-parameter.yml
changelogs/unreleased/fix-logrotate-su-parameter.yml
+5
-0
lib/support/logrotate/gitlab
lib/support/logrotate/gitlab
+2
-0
No files found.
changelogs/unreleased/fix-logrotate-su-parameter.yml
0 → 100644
View file @
6a20fd1f
---
title
:
Make logrotate run as git user for source installations
merge_request
:
35519
author
:
type
:
security
lib/support/logrotate/gitlab
View file @
6a20fd1f
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment