bin/examine.py; readonly state; debug logs for Underfunded
This commit is contained in:
15
bin/examine
Executable file
15
bin/examine
Executable file
@@ -0,0 +1,15 @@
|
||||
#!/bin/bash
|
||||
|
||||
kubectl port-forward postgres-0 5431:5432 &
|
||||
PF_PID=$!
|
||||
|
||||
shutdown () {
|
||||
kill $PF_PID
|
||||
wait
|
||||
}
|
||||
|
||||
trap shutdown INT TERM
|
||||
|
||||
PYTHONPATH=src python -m dexorder.bin.examine rpc_url=arbitrum_dxod db_url=postgres://dexorder@localhost:5431/dexorder "$@"
|
||||
|
||||
shutdown
|
||||
Reference in New Issue
Block a user