1
0
mirror of https://github.com/ohwgiles/laminar.git synced 2024-10-27 20:34:20 +00:00

laminarc: read LAMINAR_BIND_RPC

This commit is contained in:
Oliver Giles 2017-08-15 08:41:53 +03:00
parent b7644494fc
commit 0b9fb54b02

View File

@ -77,7 +77,7 @@ int main(int argc, char** argv) {
} }
int ret = 0; int ret = 0;
const char* address = getenv("LAMINAR_HOST") ?: "unix-abstract:laminar"; const char* address = getenv("LAMINAR_HOST") ?: getenv("LAMINAR_BIND_RPC") ?: "unix-abstract:laminar";
capnp::EzRpcClient client(address); capnp::EzRpcClient client(address);
LaminarCi::Client laminar = client.getMain<LaminarCi>(); LaminarCi::Client laminar = client.getMain<LaminarCi>();