2020-07-24 18:45:30 +02:00
|
|
|
#!/usr/bin/env zsh
|
2022-08-29 12:45:02 +02:00
|
|
|
|
|
|
|
# kill "while true" loops
|
2022-08-28 13:04:40 +02:00
|
|
|
killall sh
|
2022-08-29 12:45:02 +02:00
|
|
|
|
|
|
|
# kill actual node backends
|
2022-08-28 13:04:40 +02:00
|
|
|
killall node
|
2022-08-29 12:45:02 +02:00
|
|
|
|
|
|
|
# kill unfurler chrome instances
|
2022-08-28 13:04:40 +02:00
|
|
|
killall chrome
|
2022-08-29 12:45:02 +02:00
|
|
|
|
|
|
|
# kill xorg
|
2022-08-28 13:04:40 +02:00
|
|
|
killall xinit
|
2022-08-29 12:45:02 +02:00
|
|
|
|
|
|
|
# kill nginx cache warmer scripts
|
2022-08-28 13:04:40 +02:00
|
|
|
for pid in `ps uaxww|grep warmer|grep zsh|awk '{print $2}'`;do
|
|
|
|
kill $pid
|
|
|
|
done
|
2022-08-29 12:45:02 +02:00
|
|
|
|
|
|
|
# always exit successfully despite above errors
|
|
|
|
exit 0
|