Can't find sync_gateway.conf on AWS server


#1

Hello,

I have been using a Couchbase server for a little while and syncing to a mobile application no problem. I was looking for a way to have my sync gateway automatically start after the server is turned on or crashes and reboots. I found this solution:

StackOverflow - Start sync gateway service when system restarts

And I had no problem editing my couchbase_init.d file but when I went to look for my sync_gateway.conf file it wasnt there.

My question is, what should be in that file? I would like to simply add this file if anyone has a stub version of it. Or if anyone knows how to trigger this file to create (maybe I missed a step?)

But like I said, everything else seems to be working fine, I just wanted this feature for production. Any help would be appreciated.