mirror of
https://github.com/myvesta/vesta
synced 2025-08-14 18:49:21 -07:00
minimum ram requried: 350mb
This commit is contained in:
parent
9a5f8d0ea4
commit
34bee00c5b
1 changed files with 4 additions and 1 deletions
|
@ -131,8 +131,11 @@ if [ ! -z "$conflicts" ] && [ -z "$force" ]; then
|
|||
fi
|
||||
|
||||
# Check server type
|
||||
if [ "$memory" -lt '350000' ]; then
|
||||
if [ "$memory" -lt '350000' ] && [ -z "$force" ]; then
|
||||
echo "Error: not enought memory to install Vesta Control Panel."
|
||||
echo -e "\nMinimum RAM requried: 350Mb"
|
||||
echo 'If you want to force installation run this script with -f option:'
|
||||
echo "Example: bash $0 --force"
|
||||
exit 1
|
||||
fi
|
||||
srv_type='micro'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue