Where should I place the sync_gateway config file

I am running the sync_gateway as a service. (Ubuntu 14x)

I am not sure where to place the config.json file so that the service will automatically pick it up when the service starts.

@ian.bradbury

The service config file should be located in :
/home/sync_gateway/sync_gateway.json

The service runs as the user sync_gateway, make sure that that user has read access to the sync_gateway.json file after update.

1 Like

Thanks @andy. Just the answer I needed. Cheers.