From 902ed1a2705f26f41d23f305ebe4cd1f608c67e6 Mon Sep 17 00:00:00 2001 From: Tobias Date: Fri, 9 Jan 2026 14:09:20 +0100 Subject: [PATCH] yubal fix env --- ct/yubal.sh | 8 -------- install/yubal-install.sh | 6 +++--- 2 files changed, 3 insertions(+), 11 deletions(-) diff --git a/ct/yubal.sh b/ct/yubal.sh index ad57ca984..8be7de01d 100644 --- a/ct/yubal.sh +++ b/ct/yubal.sh @@ -34,16 +34,8 @@ function update_script() { systemctl stop yubal msg_ok "Stopped Services" - msg_info "Backing up" - cp /opt/yubal/.env /opt/yubal.env - msg_ok "Backed up" - CLEAN_INSTALL=1 fetch_and_deploy_gh_release "yubal" "guillevc/yubal" "tarball" "latest" "/opt/yubal" - msg_info "Restoring Backup" - mv /opt/yubal.env /opt/yubal/.env - msg_ok "Restored Backup" - msg_info "Building Frontend" cd /opt/yubal/web $STD bun install --frozen-lockfile diff --git a/install/yubal-install.sh b/install/yubal-install.sh index 4e2b9d2eb..c007e0317 100644 --- a/install/yubal-install.sh +++ b/install/yubal-install.sh @@ -57,9 +57,9 @@ $STD uv sync --no-dev --frozen msg_ok "Installed Python Dependencies" msg_info "Creating Service" -cat </opt/yubal/.env +cat </opt/yubal.env YUBAL_HOST=0.0.0.0 -YUBAL_PORT=8000 +YUBAL_PORT=8001 YUBAL_DATA_DIR=/opt/yubal_data YUBAL_BEETS_DIR=/opt/yubal/beets YUBAL_YTDLP_DIR=/opt/yubal/ytdlp @@ -74,7 +74,7 @@ After=network.target Type=simple User=root WorkingDirectory=/opt/yubal -EnvironmentFile=/opt/yubal/.env +EnvironmentFile=/opt/yubal.env Environment="PATH=/opt/yubal/.venv/bin:/usr/local/bin:/usr/bin:/bin" ExecStart=/opt/yubal/.venv/bin/python -m yubal Restart=always