Need the steps to be followed after modifying the Custom config file

I found a related post Changing Config file and index however am not clear what is the process after modifying /home/git/gogs/custom/conf/app.ini. Do I need to follow the following steps:

  • Stop gogs

  • Re-build the binary using command

[email protected]:~/gogs$go build
  • Start gogs

The official Configuration and run page is not clear on what to do after modifying the custom config file. Can anybody please help?

You only need to restart Gogs.

@Unknwon Thanks so much. Your instruction worked straight-away.

And by setting DISABLE_REGISTRATION = true in my custom config file and restarting gogs, I could resolve my following query asked in Registered admin cannot log-in to Gogs fresh setup also got answered

Also an unrelated question is: Is there a provision to disable Register / Signup so as to let only Admin added users can sign-in?