back

by mark_l_watson·16y ago·view on hn ↗
Great writeup. I use CouchDB behind nginx anyway for simple authentication so I'll have to try this. The only problem is "continuous replication currently does not survive server restart" - that is not so good.
1 comments
OK, apparently this is not such a problem; from the book: "At the time of writing, CouchDB doesn’t remember continuous replications over a server restart. For the time being, you are required to trigger them again, when you restart CouchDB."

So, put something in /etc/rc.local for each server to start the replication again.