Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
configuration
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenEdx
configuration
Commits
15a4356f
Commit
15a4356f
authored
8 years ago
by
Brian Beggs
Committed by
GitHub
8 years ago
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #3624 from edx/bbeggs/TE-1951
Add git GC defaults for go-server
parents
d329a9e9
44296d1a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
playbooks/roles/go-server/tasks/main.yml
+9
-0
No files found.
playbooks/roles/go-server/tasks/main.yml
View file @
15a4356f
...
@@ -158,6 +158,15 @@
...
@@ -158,6 +158,15 @@
tags
:
tags
:
-
git_identity
-
git_identity
# Setup environment variables to cleanup the git config repository
-
name
:
Set go-server environment variables
lineinfile
:
destfile
:
/etc/default/go-server
regexp
:
"
^export
GO_SERVER_SYSTEM_PROPERTIES=*"
line
:
"
export
GO_SERVER_SYSTEM_PROPERTIES=
\"
-Dgo.config.repo.gc.cron=
\"
0
0
2
?
*
SAT
\"
go.config.repo.gc.periodic=
\"
Y
\"\"
"
tags
:
-
environment_variables
-
name
:
restart go-server
-
name
:
restart go-server
service
:
service
:
name
:
"
{{
GO_SERVER_SERVICE_NAME
}}"
name
:
"
{{
GO_SERVER_SERVICE_NAME
}}"
...
...
This diff is collapsed.
Click to expand it.
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