more uv migs

This commit is contained in:
CanbiZ 2025-06-04 09:19:28 +02:00
parent 647af55b40
commit 7e8083f98c

View File

@ -14,6 +14,8 @@ setting_up_container
network_check
update_os
PYTHON_VERSION="3.12" setup_uv
msg_info "Installing Dependencies"
$STD apt-get install -y \
git-core \
@ -29,6 +31,9 @@ msg_ok "Installed Dependencies"
msg_info "Installing Medusa"
$STD git clone https://github.com/pymedusa/Medusa.git /opt/medusa
cd /opt/medusa
$STD uv venv .venv
$STD .venv/bin/uv pip install .
msg_ok "Installed Medusa"
msg_info "Creating Service"
@ -39,7 +44,8 @@ After=network.target
[Service]
Type=simple
ExecStart=/usr/bin/python3 /opt/medusa/start.py -q --nolaunch --datadir=/opt/medusa
WorkingDirectory=/opt/medusa
ExecStart=/opt/medusa/.venv/bin/python start.py -q --nolaunch --datadir=/opt/medusa
TimeoutStopSec=25
KillMode=process
Restart=on-failure