From fd152425e4e63f9447ae632e5baff59d4a9a9e29 Mon Sep 17 00:00:00 2001 From: Casey Rodarmor Date: Mon, 11 Mar 2024 13:50:01 -0700 Subject: [PATCH] Add recipe to delete indices (#3266) --- justfile | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/justfile b/justfile index 8b590dac14..437dff4340 100644 --- a/justfile +++ b/justfile @@ -53,6 +53,14 @@ deploy-all: \ deploy-mainnet-bravo \ deploy-mainnet-charlie +delete-indices: \ + (delete-index "regtest.ordinals.net") \ + (delete-index "signet.ordinals.net") \ + (delete-index "testnet.ordinals.net") + +delete-index domain: + ssh root@{{domain}} 'systemctl stop ord && rm -f /var/lib/ord/*/index.redb' + servers := 'alpha bravo charlie regtest signet testnet' initialize-server-keys: