Skip to content

Commit 34bee00

Browse files
committed
minimum ram requried: 350mb
1 parent 9a5f8d0 commit 34bee00

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

install/vst-install.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,8 +131,11 @@ if [ ! -z "$conflicts" ] && [ -z "$force" ]; then
131131
fi
132132

133133
# Check server type
134-
if [ "$memory" -lt '350000' ]; then
134+
if [ "$memory" -lt '350000' ] && [ -z "$force" ]; then
135135
echo "Error: not enought memory to install Vesta Control Panel."
136+
echo -e "\nMinimum RAM requried: 350Mb"
137+
echo 'If you want to force installation run this script with -f option:'
138+
echo "Example: bash $0 --force"
136139
exit 1
137140
fi
138141
srv_type='micro'

0 commit comments

Comments
 (0)