Merge pull request #2432 from mempool/ops/always-return-true-stop-script

[ops] Set kill script to always return true
This commit is contained in:
wiz 2022-08-29 12:45:31 +02:00 committed by GitHub
commit dcfaa9b474
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,8 +1,21 @@
#!/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