Skip to content

Commit

Permalink
Add recipe to delete indices (#3266)
Browse files Browse the repository at this point in the history
  • Loading branch information
casey committed Mar 11, 2024
1 parent 2badb82 commit fd15242
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit fd15242

Please sign in to comment.