DevLounge
DevLounge

Reputation: 8437

RethinkDB Proxy on app server with automatic startup

So, I have:

How can we make Rethink start automatically but in proxy mode?

I manage to run it manually and it connects to my 4 nodes using /etc/rethinkdb/instances.d/proxy.conf (for example), but I haven't found anywhere in the documentation how to configure it for automatic startup.

My tornado processes talk to the cluster only via the local proxy, everything works fine.

FYI, all my servers run Ubuntu.

Thanks in advance

Upvotes: 1

Views: 561

Answers (1)

mlucy
mlucy

Reputation: 5289

If you have a configuration in instances.d that works, try shutting down any instances of RethinkDB on the command line that might be using the same ports and run sudo /etc/init.d/rethinkdb restart; I think that should cause RethinkDB to start automatically thereafter.

Upvotes: 1

Related Questions