mirror of
https://github.com/mempool/mempool.git
synced 2025-01-18 05:12:35 +01:00
Modify restart script to log restart events, don't restart services
This commit is contained in:
parent
815c2c5ad5
commit
17a8e67d8a
@ -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…
Reference in New Issue
Block a user