From b4bb54212c7c1871484bc2747aaf6dc03e8dd647 Mon Sep 17 00:00:00 2001 From: Stephan Oeste Date: Thu, 7 Jul 2022 19:22:47 +0200 Subject: [PATCH] Set ulimit highter for all users in prod install --- production/install | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/production/install b/production/install index 19ff128a6..34e5d6c63 100755 --- a/production/install +++ b/production/install @@ -1553,6 +1553,29 @@ case $OS in ;; esac +##### OS set Linux user ulimits + +echo "[*] Setting ulimits for users" +case $OS in + + FreeBSD) + ;; + + Debian) + cat >> /etc/security/limits.conf <> /etc/pam.d/common-session + ;; +esac + + + + + ##### OS services #if [ "${BITCOIN_MAINNET_ENABLE}" = ON ];then @@ -1628,6 +1651,8 @@ esac ##### finish +echo 'Please reboot to start all the services.' + echo '[*] Done!' exit 0