Update upgopher-install.sh

This commit is contained in:
CanbiZ 2025-11-21 09:45:55 +01:00
parent fa335a11f5
commit ce4acc7221

View File

@ -13,14 +13,13 @@ setting_up_container
network_check network_check
update_os update_os
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" fetch_and_deploy_gh_release "upgopher" "wanetty/upgopher" "prebuild" "latest" "/opt/upgopher" "upgopher_*_linux_amd64.tar.gz"
msg_info "Installing Upgopher"
chmod +x /opt/upgopher/upgopher chmod +x /opt/upgopher/upgopher
mkdir -p /opt/upgopher/uploads mkdir -p /opt/upgopher/uploads
msg_ok "Installed Upgopher" msg_ok "Installed Upgopher"
msg_info "Creating Service" msg_info "Creating Service"
cat <<EOF >/etc/systemd/system/upgopher.service cat <<EOF >/etc/systemd/system/upgopher.service
[Unit] [Unit]