This commit is contained in:
Tobias 2026-01-19 08:00:01 +01:00 committed by GitHub
parent 9f9b8ab7bc
commit da936c557c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -38,7 +38,7 @@ msg_ok "Installed Deno"
msg_info "Creating directories" msg_info "Creating directories"
mkdir -p /opt/yubal \ mkdir -p /opt/yubal \
/opt/yubal_data \ /opt/yubal_data \
/opt/yubal/ytdlp /opt/yubal_config
msg_ok "Created directories" msg_ok "Created directories"
fetch_and_deploy_gh_release "yubal" "guillevc/yubal" "tarball" "latest" "/opt/yubal" fetch_and_deploy_gh_release "yubal" "guillevc/yubal" "tarball" "latest" "/opt/yubal"
@ -60,9 +60,8 @@ msg_info "Creating Service"
cat <<EOF >/opt/yubal.env cat <<EOF >/opt/yubal.env
YUBAL_HOST=0.0.0.0 YUBAL_HOST=0.0.0.0
YUBAL_PORT=8001 YUBAL_PORT=8001
YUBAL_DATA_DIR=/opt/yubal_data YUBAL_DATA=/opt/yubal_data
YUBAL_BEETS_DIR=/opt/yubal/beets YUBAL_CONFIG=/opt/yubal_config
YUBAL_YTDLP_DIR=/opt/yubal/ytdlp
PYTHONUNBUFFERED=1 PYTHONUNBUFFERED=1
EOF EOF
cat <<EOF >/etc/systemd/system/yubal.service cat <<EOF >/etc/systemd/system/yubal.service