mirror of
https://github.com/tteck/Proxmox.git
synced 2025-02-15 06:09:15 +01:00
Fixing typos
This commit is contained in:
parent
76e3089b5d
commit
608e064fe6
2 changed files with 3 additions and 2 deletions
|
@ -77,7 +77,8 @@ function update_script() {
|
|||
}
|
||||
|
||||
function ask_extend_mmap() {
|
||||
echo "Elasticsearch recommends extending the vm.max_map_count \n(https://www.elastic.co/guide/en/elasticsearch/reference/current/vm-max-map-count.html)?"
|
||||
echo "Elasticsearch recommends extending the vm.max_map_count"
|
||||
echo "(https://www.elastic.co/guide/en/elasticsearch/reference/current/vm-max-map-count.html)"
|
||||
read -r -p "Would you like to extend mmap count? <y/N>" prompt
|
||||
if [[ ${prompt,,} =~ ^(y|yes)$ ]]; then
|
||||
msg_info "Extending mmap count"
|
||||
|
|
|
@ -37,7 +37,7 @@ msg_ok "Installed Elastcisearch"
|
|||
msg_info "Configuring Elasticsearch Memory"
|
||||
$STD sed -i -E 's/## -Xms[0-9]+[Ggm]/-Xms3g/' /etc/elasticsearch/jvm.options
|
||||
$STD sed -i -E 's/## -Xmx[0-9]+[Ggm]/-Xmx3g/' /etc/elasticsearch/jvm.options
|
||||
msg_ok "Elastcisearch Configured to user 3GB of RAM, adjust if needed by editing /etc/elasticsearch/jvm.options"
|
||||
msg_ok "Elastcisearch Configured to use 3GB of RAM"
|
||||
|
||||
msg_info "Creating Service"
|
||||
$STD /bin/systemctl daemon-reload
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue