-
Notifications
You must be signed in to change notification settings - Fork 1
Setup
Roman Shamyan edited this page Mar 8, 2014
·
11 revisions
- Compile at release mode.
- Generate config (if necessary)
rpc-sql-proxy --genConfig=rpc-sql-proxy.conf
. - Edit config.
- Run program
rpc-sql-proxy --daemon
or just./rpc-sql-proxy
(run in terminal mode). - For restart use
kill -SIGHUP <pid>
. - Stop the program with
kill <pid>
.
##Requirements
On linux libpq.so
(or libpq.so.5
).
On windows libpq.dll
, libintl.dll
(only 32 bit arch supported yet).
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>
.
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.