Sync Gateway persist configuration changes done by REST api after reboot

Just quick follow up. You may want to check out configServer which allows you to specify a endpoint to fetch DB config . Of course, this may not be entirely applicable in your case since your config is created on the fly but if you have a way of persisting the config on this server, then you could fetch it. Just mentioning this as an option …