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
0
Merge Requests
0
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
Léo-Paul Géneau
gitlab-ce
Commits
615d859f
Commit
615d859f
authored
Oct 16, 2013
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'logrotate' of /home/git/repositories/gitlab/gitlabhq
parents
2c0f4c76
d378332f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
26 additions
and
1 deletion
+26
-1
doc/install/installation.md
doc/install/installation.md
+4
-1
lib/support/logrotate/gitlab
lib/support/logrotate/gitlab
+22
-0
No files found.
doc/install/installation.md
View file @
615d859f
...
...
@@ -52,7 +52,7 @@ If you are not familiar with vim please skip this and keep using the default edi
Install the required packages:
sudo apt-get install -y build-essential zlib1g-dev libyaml-dev libssl-dev libgdbm-dev libreadline-dev libncurses5-dev libffi-dev curl git-core openssh-server redis-server checkinstall libxml2-dev libxslt-dev libcurl4-openssl-dev libicu-dev
sudo apt-get install -y build-essential zlib1g-dev libyaml-dev libssl-dev libgdbm-dev libreadline-dev libncurses5-dev libffi-dev curl git-core openssh-server redis-server checkinstall libxml2-dev libxslt-dev libcurl4-openssl-dev libicu-dev
logrotate
Make sure you have the right version of Python installed.
...
...
@@ -265,6 +265,9 @@ Make GitLab start on boot:
sudo update-rc.d gitlab defaults 21
## Set up logrotate
sudo cp lib/support/logrotate/gitlab /etc/logrotate.d/gitlab
## Check Application Status
...
...
lib/support/logrotate/gitlab
0 → 100644
View file @
615d859f
# GitLab logrotate settings
# based on: http://stackoverflow.com/a/4883967
/home/git/gitlab/log/*.log {
weekly
missingok
rotate 52
compress
delaycompress
notifempty
copytruncate
}
/home/git/gitlab-shell/gitlab-shell.log {
weekly
missingok
rotate 52
compress
delaycompress
notifempty
copytruncate
}
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