Commenting scripts
This commit is contained in:
parent
418c7e1d9e
commit
e898163aff
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue