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
Kazuhiko Shiozaki
gitlab-ce
Commits
d378332f
Commit
d378332f
authored
Oct 16, 2013
by
Jacob Vosmaer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add logrotate setup to the installation guide
parent
253850dd
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 @
d378332f
...
...
@@ -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 @
d378332f
# 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