Commenting scripts

This commit is contained in:
silversword411 2022-03-15 00:02:57 -04:00
parent 418c7e1d9e
commit e898163aff
2 changed files with 4 additions and 0 deletions

View File

@ -382,6 +382,9 @@ python manage.py generate_barcode ${RANDBASE} ${djangousername} ${frontenddomain
deactivate deactivate
read -n 1 -s -r -p "Press any key to continue..." read -n 1 -s -r -p "Press any key to continue..."
print_green 'Installing the backend'
print_grey 'Optimizing for number of processors'
uwsgiprocs=4 uwsgiprocs=4
if [[ "$numprocs" == "1" ]]; then if [[ "$numprocs" == "1" ]]; then
uwsgiprocs=2 uwsgiprocs=2

View File

@ -251,6 +251,7 @@ npm install meshcentral@${MESH_VER}
print_green 'Restoring the backend' print_green 'Restoring the backend'
print_grey 'Optimize for number of processors'
numprocs=$(nproc) numprocs=$(nproc)
uwsgiprocs=4 uwsgiprocs=4
if [[ "$numprocs" == "1" ]]; then if [[ "$numprocs" == "1" ]]; then