You shouldn't remove the "#" before the "#include". Though the rest of the lines prefixed with a "#" are comments, in the case of the include directive, it is: "#include", as you can see here: https://wrapper.tanukisoftware.com/doc/english/props-cascading.html
If you create the file config/wrapper-properties.conf and try one of the options (Option 1, I think) that you mentioned, it should work. On Tue, Aug 29, 2017 at 12:29 PM, Ketan Padegaonkar < ketanpadegaon...@gmail.com> wrote: > Would you mind logging an issue on github with the contents of your > wrapper-server.conf file so someone can take a look? > > > On Tue, Aug 29, 2017 at 9:57 PM <keithlim2...@gmail.com> wrote: > >> Thanks Ketan, >> >> I used the instruction and did these steps, must have missed something >> subtle. >> >> 1) in <go server>\config\wrapper-server.conf >> un-commented the line >> #include config/wrapper-properties.conf >> to >> include config/wrapper-properties.conf >> >> 2) created a new file wrapper-properties.conf >> with the following content: >> >> tried >> 1) >> wrapper.java.additional.16=-Dgo.config.repo.gc.periodic=Y >> wrapper.java.additional.17=-Dgo.config.repo.gc.cron='0 0 3 * * *' >> >> 1b) with double quotes >> wrapper.java.additional.16="-Dgo.config.repo.gc.periodic=Y" >> wrapper.java.additional.17="-Dgo.config.repo.gc.cron='0 0 3 * * *'" >> >> 1c) (with escape key?) >> wrapper.java.additional.16="-Dgo.config.repo.gc.periodic=Y" >> wrapper.java.additional.17="-Dgo.config.repo.gc.cron='0 0 3 \* \* \*'" >> >> 2) >> go.config.repo.gc.periodic=Y >> go.config.repo.gc.cron='0 0 3 * * *' >> >> None of the above works for me. Must be something subtle. >> >> Any help appreciated, >> >> Thanks, >> Keith >> >> On Monday, August 28, 2017 at 6:43:16 PM UTC-7, Ketan Padegaonkar wrote: >> >>> See this page (https://docs.gocd.org/current/installation/install/ >>> server/windows.html#overriding-default-startup-arguments-and-environment) >>> for details on setting up system properties. >>> >>> On Tue, Aug 29, 2017, 5:58 AM <keithl...@gmail.com> wrote: >>> >> I have the same issue and am not able to get the setting to work. I >>>> use https://<your-server>:8154/go/api/support to verify if the >>>> properties but did not see the properties. >>>> Anyone has the answer please share. I am on MS Windows as well. >>>> >>>> >>>> Thanks, >>>> Keith >>>> >>>> >>>> On Tuesday, May 24, 2016 at 1:27:20 AM UTC-7, Chris Tamlyn wrote: >>>>> >>>>> Thanks Varsha, sounds like we did everything right then. I don't see >>>>> that any garbage collection occurred at the scheduled time and we still >>>>> have the error reporting in the GUI. So not sure how to explain that. >>>>> >>>>> On Tuesday, 24 May 2016 04:42:04 UTC+1, Varsha Varadarajan wrote: >>>>>> >>>>>> Hi Chris >>>>>> >>>>>> The above properties that you mentioned are system properties that >>>>>> alter how the garbage collection behaviour in the configuration >>>>>> repository. >>>>>> They must be added to the wrapper-properties.conf file. >>>>>> >>>>>> Here is the documentation for appending these properties: >>>>>> https://docs.go.cd/current/installation/install/server/ >>>>>> windows.html#overriding-default-startup-arguments-and-environment >>>>>> >>>>>> Make sure you restart the Go server after changing the same. >>>>>> >>>>>> Thanks. >>>>>> Varsha >>>>>> >>>>>> On Thursday, 19 May 2016 13:26:55 UTC+5:30, Chris Tamlyn wrote: >>>>>>> >>>>>>> We started to get an error in GO around Garabge collection which >>>>>>> directs us to this link: >>>>>>> >>>>>>> https://docs.go.cd/current/advanced_usage/config_repo.html >>>>>>> >>>>>>> Has anyone else implemented this in Go before? I'm not sure that >>>>>>> I'm reading the documentation correctly on how to set it up for GO. >>>>>>> I've >>>>>>> read it as you need to add those properties to your 'wrapper-properties' >>>>>>> file (we run on Windows). So I've added the following 3 settings: >>>>>>> >>>>>>> go.config.repo.gc.periodic=Y >>>>>>> go.config.repo.gc.aggressive=Y >>>>>>> go.config.repo.gc.cron=0 0 7 ? * SUN >>>>>>> >>>>>>> But I wasn't sure if this was the correct place of if they should be >>>>>>> Windows Environment variables. Has anyone got any experience setting >>>>>>> this >>>>>>> up and could help guide us? >>>>>>> >>>>>>> Many Thanks >>>>>>> >>>>>>> Chris >>>>>>> >>>>>> -- >>>> You received this message because you are subscribed to the Google >>>> Groups "go-cd" group. >>>> >>> To unsubscribe from this group and stop receiving emails from it, send >>>> an email to go-cd+un...@googlegroups.com. >>> >>> >>>> For more options, visit https://groups.google.com/d/optout. >>>> >>> -- >> You received this message because you are subscribed to the Google Groups >> "go-cd" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to go-cd+unsubscr...@googlegroups.com. >> For more options, visit https://groups.google.com/d/optout. >> > -- > You received this message because you are subscribed to the Google Groups > "go-cd" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to go-cd+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "go-cd" group. To unsubscribe from this group and stop receiving emails from it, send an email to go-cd+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.