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
|
echo 'rebuilding mempool sites'|wall
|
||||||
|
|
||||||
|
cd "$HOME/mempool"
|
||||||
|
git pull origin master
|
||||||
|
cd "$HOME/"
|
||||||
|
|
||||||
for site in mainnet liquid testnet
|
for site in mainnet liquid testnet
|
||||||
do
|
do
|
||||||
cd "$HOME/${site}"
|
cd "$HOME/${site}"
|
||||||
@ -27,6 +31,7 @@ done
|
|||||||
|
|
||||||
ps uaxw|grep 'node dist/index'|grep -v grep|awk '{print $2}'|xargs -n 1 kill
|
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"
|
rm "$HOME/lock"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user