From 1b5bc15dac2c370fb0dbefee4e43674b0bc92f7a Mon Sep 17 00:00:00 2001 From: "CanbiZ (MickLesk)" <47820557+MickLesk@users.noreply.github.com> Date: Thu, 30 Apr 2026 09:53:23 +0200 Subject: [PATCH] Refactor ElasticSearch repo setup for readability --- install/tubearchivist-install.sh | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/install/tubearchivist-install.sh b/install/tubearchivist-install.sh index 63553d94a..ed7cd4f3e 100644 --- a/install/tubearchivist-install.sh +++ b/install/tubearchivist-install.sh @@ -34,7 +34,12 @@ NODE_VERSION="24" setup_nodejs fetch_and_deploy_gh_release "deno" "denoland/deno" "prebuild" "latest" "/usr/local/bin" "deno-x86_64-unknown-linux-gnu.zip" msg_info "Installing ElasticSearch" -setup_deb822_repo "elastic-8.x" "https://artifacts.elastic.co/GPG-KEY-elasticsearch" "https://artifacts.elastic.co/packages/8.x/apt" "stable" "main" +setup_deb822_repo \ + "elastic-8.x" \ + "https://artifacts.elastic.co/GPG-KEY-elasticsearch" \ + "https://artifacts.elastic.co/packages/8.x/apt" \ + "stable" \ + "main" ES_JAVA_OPTS="-Xms1g -Xmx1g" $STD apt install -y elasticsearch msg_ok "Installed ElasticSearch" @@ -108,7 +113,7 @@ EOF echo "Password: ${TA_PASSWORD}" echo "Elasticsearch Password: ${ES_PASSWORD}" } >~/tubearchivist.creds -$STD systemctl enable --now redis-server +systemctl enable -q --now redis-server msg_ok "Set up Tube Archivist" msg_info "Configuring Nginx"