yubal fix env

This commit is contained in:
Tobias
2026-01-09 14:09:20 +01:00
parent a0f54d8bf6
commit 902ed1a270
2 changed files with 3 additions and 11 deletions

View File

@@ -57,9 +57,9 @@ $STD uv sync --no-dev --frozen
msg_ok "Installed Python Dependencies"
msg_info "Creating Service"
cat <<EOF >/opt/yubal/.env
cat <<EOF >/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