Update disk_check.sh

This commit is contained in:
Patrick McGuire
2022-01-25 08:38:11 -05:00
committed by GitHub
parent 76a59954c3
commit 315605092c
+8
View File
@@ -13,3 +13,11 @@ if [ "${used//%}" -ge 95 ]; then
/usr/local/bin/stop_core_services.sh;;
esac
fi
sleep 1
if [ "${used//%}" -ge 95 ]; then
case $FULL_DISK in
0) echo "Removing more data"
rm -rfv ${PROCESSED}/*
*) echo "Stopping Core Services"
/usr/local/bin/stop_core_services.sh;;
esac