0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

symbol-shoestringで Nodeの作成に失敗した時に使えるやーつ!

Posted at

どうも 僕です
shoestring0.2.1が出来て
bootstrapNodeからの移行もしよっかなって人向け!

あれ作業ディレクトリで
setup命令とか upgrade命令で
しくじると命令が通らなくなってファイルとかディレクトリ全部消さなきゃならないんだけどそれいちいち消すのめんどい!めんどすぎる!
ので作りました

内容見てもらえば一目瞭然だと思いますが
ca.key.pemと shoestringディレクトリを残して後は全部捨てちゃうシェルスクリプトですよ

僕よく失敗するので結構これ使うんです
そんな人も他にいるかもなので ここに置いときますね

#!/bin/bash
rm -rf data
rm -rf dbdata
rm -rf docker-compose.yaml
rm -rf docker-compose-recovery.yaml
rm -rf keys
rm -rf logs
rm -rf mongo
rm -rf rest-cache
rm -rf seed
rm -rf startup
rm -rf userconfig
rm -rf linking_transaction.dat
rm -rf unlink
rm -rf a
rm -rf https-proxy
rm -rf renew_voting_keys_transaction.dat
rm -rf docker-compose-recovery.yaml
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?