Sync Gateway run as service on Windows

Is there a recommended way to run the sync gateway on Windows 2012 in a production environment?

Did you succeed in installing and running the Sync Gateway as a service? If yes, please share how.

Thank you,
Catalin

I have installed the Sync Gateway as a service as follows:

in the window that opens, browse to C:\Program Files (x86)\Couchbase and choose “sync_gateway.exe”

  • in the “arguments” textbox write your config.json file name (for running as sync_gateway.exe config.json)
  • click on Install service

now, on services.msc, find and start your service

Catalin

3 Likes

That worked well. Thanks for your help.