mirror of
https://github.com/mempool/mempool.git
synced 2026-08-13 12:33:11 +02:00
ops: Kill node before sh in stop script
This commit is contained in:
parent
f2fb2f98f1
commit
fdd18317f9
1 changed files with 9 additions and 6 deletions
|
|
@ -1,16 +1,19 @@
|
|||
#!/usr/bin/env zsh
|
||||
|
||||
# kill "while true" loops
|
||||
killall sh
|
||||
|
||||
# kill actual node backends
|
||||
killall node
|
||||
killall node 2>/dev/null
|
||||
|
||||
# kill "while true" loops
|
||||
killall sh 2>/dev/null
|
||||
|
||||
# kill unfurler chrome instances
|
||||
killall chrome
|
||||
killall chrome 2>/dev/null
|
||||
|
||||
# kill xorg
|
||||
killall xinit
|
||||
killall xinit 2>/dev/null
|
||||
|
||||
# kill dbus
|
||||
killall dbus-daemon 2>/dev/null
|
||||
|
||||
# kill nginx cache warmer scripts
|
||||
for pid in `ps uaxww|grep warmer|grep zsh|awk '{print $2}'`;do
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue