mirror of
https://github.com/status-im/infra-role-geth.git
synced 2025-02-17 22:36:38 +00:00
7 lines
239 B
Bash
7 lines
239 B
Bash
#!/usr/bin/env bash
|
|
if [[ -z "$@" ]]; then
|
|
docker exec -it {{ geth_cont_name }} geth attach http://localhost:{{ geth_rpc_port }}
|
|
else
|
|
docker exec {{ geth_cont_name }} geth attach http://localhost:{{ geth_rpc_port }} --exec "$@"
|
|
fi
|