mirror of
https://github.com/mempool/mempool.git
synced 2025-02-23 06:35:15 +01:00
Modify restart script to log restart events, don't restart services
This commit is contained in:
parent
815c2c5ad5
commit
17a8e67d8a
1 changed files with 3 additions and 1 deletions
|
@ -1,5 +1,7 @@
|
|||
#!/usr/bin/env zsh
|
||||
|
||||
ps uaxw|grep 'dist/index'|grep -v grep|awk '{print $2}'|xargs -n 1 kill
|
||||
echo restarting all mempool backends | wall
|
||||
echo restarting all mempool backends | logger -t mempool -p local7.notice
|
||||
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