Merge branch 'byparr' of https://github.com/luismco/ProxmoxVED into byparr

This commit is contained in:
Luís Oliveira
2025-12-02 11:12:31 +00:00
5 changed files with 92 additions and 0 deletions

View File

@@ -13,6 +13,20 @@ setting_up_container
network_check
update_os
<<<<<<< HEAD
=======
msg_info "Installing Dependencies"
$STD apt -y install \
xauth \
xvfb \
scrot \
curl \
chromium \
chromium-driver \
ca-certificates
msg_ok "Installed Dependencies"
>>>>>>> 705b0b3ed245a44466c93f68bc8f966962c11eee
fetch_and_deploy_gh_release "Byparr" "ThePhaseless/Byparr"
setup_uv
@@ -22,17 +36,34 @@ 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