Merge pull request #2920 from mempool/ops/add-mempool-reset-script

ops: add mempool-reset-all script with ./reset symlink
This commit is contained in:
wiz 2023-01-08 13:09:47 +09:00 committed by GitHub
commit 0fdb5099e1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 0 deletions

View file

@ -1010,6 +1010,7 @@ osSudo "${MEMPOOL_USER}" git clone --branch "${MEMPOOL_REPO_BRANCH}" "${MEMPOOL_
osSudo "${MEMPOOL_USER}" ln -s mempool/production/mempool-build-all upgrade
osSudo "${MEMPOOL_USER}" ln -s mempool/production/mempool-kill-all stop
osSudo "${MEMPOOL_USER}" ln -s mempool/production/mempool-start-all start
osSudo "${MEMPOOL_USER}" ln -s mempool/production/mempool-reset-all reset
case $OS in

3
production/mempool-reset-all Executable file
View file

@ -0,0 +1,3 @@
#!/usr/bin/env zsh
rm $HOME/backend/mempool-config.json{,.orig}
rm $HOME/frontend/mempool-frontend-config.json{,.orig}