Changed build and install calls

This commit is contained in:
Luís Oliveira
2025-12-02 12:37:57 +00:00
parent 98105f0ea3
commit b128fe4312
4 changed files with 10 additions and 85 deletions

View File

@@ -13,8 +13,6 @@ setting_up_container
network_check
update_os
<<<<<<< HEAD
=======
msg_info "Installing Dependencies"
$STD apt -y install \
xauth \
@@ -26,7 +24,6 @@ $STD apt -y install \
ca-certificates
msg_ok "Installed Dependencies"
>>>>>>> 705b0b3ed245a44466c93f68bc8f966962c11eee
fetch_and_deploy_gh_release "Byparr" "ThePhaseless/Byparr"
setup_uv
@@ -36,34 +33,21 @@ cat <<EOF >/etc/systemd/system/byparr.service
[Unit]
Description=Byparr
After=network.target
<<<<<<< HEAD
=======
>>>>>>> 705b0b3ed245a44466c93f68bc8f966962c11eee
[Service]
Type=simple
WorkingDirectory=/opt/Byparr
ExecStart=/usr/local/bin/uv run python3 main.py
Restart=on-failure
RestartSec=10
<<<<<<< HEAD
[Install]
WantedBy=multi-user.target
EOF
systemctl enable -q --now byparr
=======
[Install]
WantedBy=multi-user.target
EOF
>>>>>>> 705b0b3ed245a44466c93f68bc8f966962c11eee
msg_ok "Created Service"
motd_ssh
customize
<<<<<<< HEAD
=======
cleanup_lxc
systemctl enable -q --now byparr
>>>>>>> 705b0b3ed245a44466c93f68bc8f966962c11eee