mirror of
https://github.com/mempool/mempool.git
synced 2025-02-23 06:35:15 +01:00
Move backend restart command from upgrade command into its own command
This commit is contained in:
parent
ea0edc41e2
commit
fa75c1b08d
2 changed files with 5 additions and 2 deletions
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…
Add table
Reference in a new issue