mirror of
https://github.com/mempool/mempool.git
synced 2025-04-10 21:09:30 +02:00
Update production upgrade script to update main repo, announce hostname
This commit is contained in:
parent
0609ce91d0
commit
c9cc660e54
@ -6,6 +6,10 @@ touch $HOME/lock
|
||||
|
||||
echo 'rebuilding mempool sites'|wall
|
||||
|
||||
cd "$HOME/mempool"
|
||||
git pull origin master
|
||||
cd "$HOME/"
|
||||
|
||||
for site in mainnet liquid testnet
|
||||
do
|
||||
cd "$HOME/${site}"
|
||||
@ -27,6 +31,7 @@ done
|
||||
|
||||
ps uaxw|grep 'node dist/index'|grep -v grep|awk '{print $2}'|xargs -n 1 kill
|
||||
|
||||
keybase chat send --channel dev mempool "All mempool sites updated to ${hash}"
|
||||
hostname=$(hostname)
|
||||
keybase chat send --channel dev mempool "${hostname} updated to ${hash}"
|
||||
|
||||
rm "$HOME/lock"
|
||||
|
Loading…
x
Reference in New Issue
Block a user