mirror of
https://github.com/mempool/mempool.git
synced 2025-02-22 06:21:46 +01:00
Merge pull request #2454 from Emzy/ops/cahnge-restart
Remove the mempool restart script in prod install
This commit is contained in:
commit
07978bc3d4
2 changed files with 0 additions and 9 deletions
|
@ -1009,7 +1009,6 @@ 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-build-all upgrade
|
||||||
osSudo "${MEMPOOL_USER}" ln -s mempool/production/mempool-kill-all stop
|
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-start-all start
|
||||||
osSudo "${MEMPOOL_USER}" ln -s mempool/production/mempool-restart-all restart
|
|
||||||
|
|
||||||
|
|
||||||
case $OS in
|
case $OS in
|
||||||
|
|
|
@ -1,8 +0,0 @@
|
||||||
#!/usr/bin/env zsh
|
|
||||||
HOSTNAME=$(hostname)
|
|
||||||
|
|
||||||
echo restarting mempool backends | wall
|
|
||||||
echo "${HOSTNAME} restarted mempool backends" | /usr/local/bin/keybase chat send --nonblock --channel general mempool.ops
|
|
||||||
ps uaxw|grep 'dist/index'|grep -v grep|grep -v services|awk '{print $2}'|xargs -n 1 kill
|
|
||||||
|
|
||||||
exit 0
|
|
Loading…
Add table
Reference in a new issue