diff options
author | Cullum Smith <cullum@sacredheartsc.com> | 2024-10-15 23:35:53 -0400 |
---|---|---|
committer | Cullum Smith <cullum@sacredheartsc.com> | 2024-10-15 23:35:53 -0400 |
commit | 145668c3dd67c5271eddcb62d1e7843487d768a7 (patch) | |
tree | 4c7d563e9d320e6b122ee3dbf048d93eee6776c3 /vars/common | |
parent | b2af400a1098ebf445575d169e11a6717867045f (diff) | |
download | infrastructure-145668c3dd67c5271eddcb62d1e7843487d768a7.tar.gz |
huge amount of fixes
Diffstat (limited to 'vars/common')
-rw-r--r-- | vars/common | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vars/common b/vars/common index 92a0c96..d072ea8 100644 --- a/vars/common +++ b/vars/common @@ -58,7 +58,7 @@ tcp_buffer_size=2097152 # suitable for 1 GigE nginx_nofile=2048 nginx_worker_connections=768 -if (( nproc > 4 )); then +if [ "$nproc" -gt 4 ]; then nginx_worker_processes=4 else nginx_worker_processes=$nproc |