Commit 7d5e71f8 by Feanil Patel

There's actually 3 layers of quoting here so using some single quotes.

The end result in the file was previously
`export GO_SERVER_SYSTEM_PROPERTIES="-Dgo.config.repo.gc.cron="0 0 2 ? * SAT" go.config.repo.gc.periodic="Y""`

Note how the open quote after the equal gets closed by the quote after `cron=`.  This is not what we want.
The new output looks like this:
`export GO_SERVER_SYSTEM_PROPERTIES='-Dgo.config.repo.gc.cron="0 0 2 ? * SAT" -Dgo.config.repo.gc.periodic="Y"'`

Single quoting all the double quotes on that line.
parent bae771e7
......@@ -162,7 +162,7 @@
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\"\""
line: "export GO_SERVER_SYSTEM_PROPERTIES='-Dgo.config.repo.gc.cron=\"0 0 2 ? * SAT\" -Dgo.config.repo.gc.periodic=\"Y\"'"
tags:
- environment_variables
......
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