Merge branch 'dev' into strelkainstall

This commit is contained in:
Mike Reeves
2021-02-24 17:07:26 -05:00
committed by GitHub
5 changed files with 26 additions and 5 deletions

View File

@@ -2306,6 +2306,9 @@ set_default_log_size() {
if [ -d /nsm ]; then
disk_dir="/nsm"
fi
if [ -d /nsm/elasticsearch ]; then
disk_dir="/nsm/elasticsearch"
fi
local disk_size_1k
disk_size_1k=$(df $disk_dir | grep -v "^Filesystem" | awk '{print $2}')