ops: Kill nginx cache heater script on shutdown
This commit is contained in:
@@ -20,5 +20,10 @@ for pid in `ps uaxww|grep warmer|grep zsh|awk '{print $2}'`;do
|
||||
kill $pid
|
||||
done
|
||||
|
||||
# kill nginx cache heater scripts
|
||||
for pid in `ps uaxww|grep heater|grep zsh|awk '{print $2}'`;do
|
||||
kill $pid
|
||||
done
|
||||
|
||||
# always exit successfully despite above errors
|
||||
exit 0
|
||||
|
||||
Reference in New Issue
Block a user