mirror of
https://github.com/mempool/mempool.git
synced 2025-01-17 18:52:34 +01:00
Move backend restart command from upgrade command into its own command
This commit is contained in:
parent
ea0edc41e2
commit
fa75c1b08d
5
production/mempool-restart-all
Normal file
5
production/mempool-restart-all
Normal file
@ -0,0 +1,5 @@
|
||||
#!/usr/bin/env zsh
|
||||
|
||||
ps uaxw|grep 'dist/index'|grep -v grep|awk '{print $2}'|xargs -n 1 kill
|
||||
|
||||
exit 0
|
@ -36,8 +36,6 @@ do
|
||||
npm run build
|
||||
done
|
||||
|
||||
ps uaxw|grep 'dist/index'|grep -v grep|awk '{print $2}'|xargs -n 1 kill
|
||||
|
||||
hostname=$(hostname)
|
||||
keybase chat send --channel dev mempool "${hostname} updated to ${hash}"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user