Commit 15a4356f by Brian Beggs Committed by GitHub

Merge pull request #3624 from edx/bbeggs/TE-1951

Add git GC defaults for go-server
parents d329a9e9 44296d1a
......@@ -158,6 +158,15 @@
tags:
- 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
service:
name: "{{ GO_SERVER_SERVICE_NAME }}"
......
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