more uv migs
This commit is contained in:
parent
647af55b40
commit
7e8083f98c
@ -14,6 +14,8 @@ setting_up_container
|
|||||||
network_check
|
network_check
|
||||||
update_os
|
update_os
|
||||||
|
|
||||||
|
PYTHON_VERSION="3.12" setup_uv
|
||||||
|
|
||||||
msg_info "Installing Dependencies"
|
msg_info "Installing Dependencies"
|
||||||
$STD apt-get install -y \
|
$STD apt-get install -y \
|
||||||
git-core \
|
git-core \
|
||||||
@ -29,6 +31,9 @@ msg_ok "Installed Dependencies"
|
|||||||
|
|
||||||
msg_info "Installing Medusa"
|
msg_info "Installing Medusa"
|
||||||
$STD git clone https://github.com/pymedusa/Medusa.git /opt/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_ok "Installed Medusa"
|
||||||
|
|
||||||
msg_info "Creating Service"
|
msg_info "Creating Service"
|
||||||
@ -39,7 +44,8 @@ After=network.target
|
|||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=simple
|
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
|
TimeoutStopSec=25
|
||||||
KillMode=process
|
KillMode=process
|
||||||
Restart=on-failure
|
Restart=on-failure
|
||||||
|
Loading…
x
Reference in New Issue
Block a user