Adjust |ulimit -n| automatically, no bash required (#5586)

This commit is contained in:
Michael Vines
2019-08-21 14:55:58 -07:00
committed by GitHub
parent f18aa4e423
commit d651cb7a25
2 changed files with 41 additions and 3 deletions

View File

@ -3,9 +3,6 @@
# Adjusts system settings for optimal fullnode performance
#
# shellcheck source=scripts/ulimit-n.sh
source "$(dirname "${BASH_SOURCE[0]}")"/ulimit-n.sh
sysctl_write() {
declare name=$1
declare new_value=$2