mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-05-22 16:34:57 +02:00
Compare commits
2 Commits
CrazyWolf1
...
fix/kometa
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
803af2627d | ||
|
|
d647f26c78 |
@@ -48,7 +48,7 @@ function update_script() {
|
||||
msg_ok "Updated Dashy"
|
||||
|
||||
msg_info "Restoring conf.yml"
|
||||
cp /opt/dashy_conf_backup.yml /opt/dashy/user-data/conf.yml
|
||||
cp -R /opt/dashy_conf_backup.yml /opt/dashy/user-data
|
||||
msg_ok "Restored conf.yml"
|
||||
|
||||
msg_info "Cleaning"
|
||||
|
||||
22
ct/kometa.sh
22
ct/kometa.sh
@@ -31,6 +31,7 @@ function update_script() {
|
||||
if check_for_gh_release "kometa" "Kometa-Team/Kometa"; then
|
||||
msg_info "Stopping Service"
|
||||
systemctl stop kometa
|
||||
[[ -d "/opt/kometa-quickstart" ]] && systemctl stop kometa-quickstart
|
||||
msg_ok "Stopped Service"
|
||||
|
||||
msg_info "Backing up data"
|
||||
@@ -41,7 +42,7 @@ function update_script() {
|
||||
fetch_and_deploy_gh_release "kometa" "Kometa-Team/Kometa" "tarball"
|
||||
|
||||
msg_info "Updating Kometa"
|
||||
cd /opt/kometa
|
||||
cd /opt/kometa
|
||||
$STD uv pip install -r requirements.txt --system
|
||||
mkdir -p config/assets
|
||||
cp /opt/config.yml config/config.yml
|
||||
@@ -49,9 +50,28 @@ function update_script() {
|
||||
|
||||
msg_info "Starting Service"
|
||||
systemctl start kometa
|
||||
[[ -d "/opt/kometa-quickstart" ]] && systemctl start kometa-quickstart
|
||||
msg_ok "Started Service"
|
||||
msg_ok "Updated successfully!"
|
||||
fi
|
||||
|
||||
if [[ -d "/opt/kometa-quickstart" ]] && check_for_gh_release "kometa-quickstart" "Kometa-Team/Quickstart"; then
|
||||
msg_info "Stopping Quickstart Service"
|
||||
systemctl stop kometa-quickstart
|
||||
msg_ok "Stopped Quickstart Service"
|
||||
|
||||
fetch_and_deploy_gh_release "kometa-quickstart" "Kometa-Team/Quickstart" "tarball"
|
||||
|
||||
msg_info "Updating Kometa Quickstart"
|
||||
cd /opt/kometa-quickstart
|
||||
$STD uv pip install -r requirements.txt -p /opt/kometa-quickstart/.venv/bin/python
|
||||
msg_ok "Updated Kometa Quickstart"
|
||||
|
||||
msg_info "Starting Quickstart Service"
|
||||
systemctl start kometa-quickstart
|
||||
msg_ok "Started Quickstart Service"
|
||||
msg_ok "Updated Quickstart successfully!"
|
||||
fi
|
||||
exit
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user