[ops] Set kill script to always return true
This commit is contained in:
parent
586473a4e8
commit
9c606a6240
@ -1,8 +1,21 @@
|
|||||||
#!/usr/bin/env zsh
|
#!/usr/bin/env zsh
|
||||||
|
|
||||||
|
# kill "while true" loops
|
||||||
killall sh
|
killall sh
|
||||||
|
|
||||||
|
# kill actual node backends
|
||||||
killall node
|
killall node
|
||||||
|
|
||||||
|
# kill unfurler chrome instances
|
||||||
killall chrome
|
killall chrome
|
||||||
|
|
||||||
|
# kill xorg
|
||||||
killall xinit
|
killall xinit
|
||||||
|
|
||||||
|
# kill nginx cache warmer scripts
|
||||||
for pid in `ps uaxww|grep warmer|grep zsh|awk '{print $2}'`;do
|
for pid in `ps uaxww|grep warmer|grep zsh|awk '{print $2}'`;do
|
||||||
kill $pid
|
kill $pid
|
||||||
done
|
done
|
||||||
|
|
||||||
|
# always exit successfully despite above errors
|
||||||
|
exit 0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user