github.com/ewagmig/fabric@v2.1.1+incompatible/vagrant/limits.sh (about)

     1  #!/bin/bash -eu
     2  #
     3  # Copyright IBM Corp. All Rights Reserved.
     4  #
     5  # SPDX-License-Identifier: Apache-2.0
     6  
     7  # ----------------------------------------------------------------
     8  # set custom limits
     9  # ----------------------------------------------------------------
    10  
    11  cat <<EOF >/etc/security/limits.d/99-hyperledger.conf
    12  # custom limits for hyperledger development
    13  
    14  *       soft    nofile          10000
    15  *       hard    nofile          16384
    16  EOF