Created
November 9, 2021 15:20
-
-
Save ryancbutler/a8afed412d6c3e431bedbfb75063be33 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Grabs MaxClients from HTTPD.CONF | |
export MAXCLIENTS=$(grep "^MaxClients" /etc/httpd.conf | awk '{print $2}') | |
nsapimgr_wr.sh -ys maxclientForHttpdInternalService=$MAXCLIENTS | |
touch /nsconfig/rc.netscaler | |
chmod a+x /nsconfig/rc.netscaler | |
echo "nsapimgr_wr.sh -ys maxclientForHttpdInternalService=$MAXCLIENTS" >> /nsconfig/rc.netscaler |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment