Update calibre-web.sh

This commit is contained in:
CanbiZ 2024-11-18 18:44:15 +01:00 committed by GitHub
parent deb239d8ca
commit e6bbf305f1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -54,13 +54,13 @@ function default_settings() {
} }
function update_script() { function update_script() {
header_info
check_container_storage
check_container_resources
if [[ ! -f /etc/systemd/system/cps.service ]]; then if [[ ! -f /etc/systemd/system/cps.service ]]; then
msg_error "No ${APP} Installation Found!" msg_error "No ${APP} Installation Found!"
exit exit
fi fi
header_info
check_container_storage
check_container_resources
msg_info "Updating $APP LXC" msg_info "Updating $APP LXC"
systemctl stop cps systemctl stop cps
cd /opt/kepubify cd /opt/kepubify