fix(miniflux): use systemctl to check service instead of file path (#10024)

This commit is contained in:
CanbiZ 2025-12-16 11:49:34 +01:00 committed by GitHub
parent 2773faee08
commit 798015df6f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -23,7 +23,7 @@ function update_script() {
header_info
check_container_storage
check_container_resources
if [[ ! -f /etc/systemd/system/miniflux.service ]]; then
if ! systemctl -q is-enabled miniflux 2>/dev/null; then
msg_error "No ${APP} Installation Found!"
exit
fi