mirror of
https://github.com/mempool/mempool.git
synced 2024-11-19 18:03:00 +01:00
22 lines
348 B
Bash
Executable File
22 lines
348 B
Bash
Executable File
#!/usr/bin/env zsh
|
|
|
|
# kill "while true" loops
|
|
killall sh
|
|
|
|
# kill actual node backends
|
|
killall node
|
|
|
|
# kill unfurler chrome instances
|
|
killall chrome
|
|
|
|
# kill xorg
|
|
killall xinit
|
|
|
|
# kill nginx cache warmer scripts
|
|
for pid in `ps uaxww|grep warmer|grep zsh|awk '{print $2}'`;do
|
|
kill $pid
|
|
done
|
|
|
|
# always exit successfully despite above errors
|
|
exit 0
|