mirror of
https://github.com/mempool/mempool.git
synced 2024-11-20 10:21:52 +01:00
25 lines
441 B
Bash
Executable File
25 lines
441 B
Bash
Executable File
#!/usr/bin/env zsh
|
|
|
|
# kill actual node backends
|
|
killall node 2>/dev/null
|
|
|
|
# kill "while true" loops
|
|
killall sh 2>/dev/null
|
|
|
|
# kill unfurler chrome instances
|
|
killall chrome 2>/dev/null
|
|
|
|
# kill xorg
|
|
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
|
|
kill $pid
|
|
done
|
|
|
|
# always exit successfully despite above errors
|
|
exit 0
|