From 81a8fa0c77a5549e1f915016118d74b9f9b618b6 Mon Sep 17 00:00:00 2001 From: Michel Roegl-Brunner <73236783+michelroegl-brunner@users.noreply.github.com> Date: Mon, 17 Nov 2025 10:23:07 +0100 Subject: [PATCH] Finalizinger -install.sh Removed configuration for Upgopher port and directory, using default values instead. --- install/upgopher-install.sh | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/install/upgopher-install.sh b/install/upgopher-install.sh index ef07b77a6..26a1ee6da 100644 --- a/install/upgopher-install.sh +++ b/install/upgopher-install.sh @@ -17,13 +17,9 @@ msg_info "Installing Upgopher" mkdir -p /opt/upgopher fetch_and_deploy_gh_release "upgopher" "wanetty/upgopher" "prebuild" "latest" "/opt/upgopher" "upgopher_*_linux_amd64.tar.gz" chmod +x /opt/upgopher/upgopher +mkdir -p /opt/upgopher/uploads msg_ok "Installed Upgopher" -msg_info "Configuring Upgopher" -UPGOPHER_PORT="9090" -UPGOPHER_DIR="/opt/upgopher/uploads" -mkdir -p "$UPGOPHER_DIR" -msg_ok "Configured Upgopher (default settings: no auth, HTTP, port 9090)" msg_info "Creating Service" cat </etc/systemd/system/upgopher.service @@ -36,7 +32,7 @@ After=network.target Type=simple User=root WorkingDirectory=/opt/upgopher -ExecStart=/opt/upgopher/upgopher -port $UPGOPHER_PORT -dir "$UPGOPHER_DIR" +ExecStart=/opt/upgopher/upgopher -port 9090 -dir /opt/upgopher/uploads Restart=always RestartSec=5