ops: Kill nginx cache heater script on shutdown
This commit is contained in:
parent
7e16c5e8c4
commit
587c7f6d59
@ -20,5 +20,10 @@ for pid in `ps uaxww|grep warmer|grep zsh|awk '{print $2}'`;do
|
|||||||
kill $pid
|
kill $pid
|
||||||
done
|
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
|
# always exit successfully despite above errors
|
||||||
exit 0
|
exit 0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user