Skip to content
Roman Shamyan edited this page Mar 8, 2014 · 11 revisions
  1. Compile at release mode.
  2. Generate config (if necessary) rpc-sql-proxy --genConfig=rpc-sql-proxy.conf.
  3. Edit config.
  4. Run program rpc-sql-proxy --daemon or just ./rpc-sql-proxy (run in terminal mode).
  5. For restart use kill -SIGHUP <pid>.
  6. Stop the program with kill <pid>.

##Requirements

PostgreSQL 9.2+

On linux libpq.so (or libpq.so.5).

On windows libpq.dll, libintl.dll (only 32 bit arch supported yet).

Configs

If not recognized option --config on linux program tries to load rpc-sql-proxy.conf from ~/.config/rpc-sql-proxy/ (if failed tries from /etc/rpc-sql-proxy/), on windows from %UserProfile%/.config/rpc-sql-proxy.

You can manually set config file with rpc-sql-proxy --config=<config path>.

Logs

On linux default logs directroy is /var/log/rpc-sql-proxy, on windows ./logs.

By default vibe log is http.txt (see config). It contains vibe output.

Clone this wiki locally