mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2026-11-09 22:20:00 +01:00
change log_size_limit logic - https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/551
This commit is contained in:
1 parent
5f2fa0fdc5
commit
cca408e2d8
2 files changed
+10
-1
No files matched your search
@@ -33,6 +33,15 @@ calculate_useable_cores() {
|
||||
|
||||
set_defaul_log_size() {
|
||||
|
||||
case $INSTALLTYPE in
|
||||
EVAL | HEAVYNODE)
|
||||
PERCENTAGE=50
|
||||
;;
|
||||
*)
|
||||
PERCENTAGE=80
|
||||
;;
|
||||
esac
|
||||
|
||||
local disk_dir="/"
|
||||
if [ -d /nsm ]; then
|
||||
disk_dir="/nsm"
|
||||
|
||||
Reference in new issue
Block a user