From 0b34b146d066e0c97d634c6d074850ef1b141072 Mon Sep 17 00:00:00 2001 From: Tobias <96661824+CrazyWolf13@users.noreply.github.com> Date: Mon, 15 Dec 2025 21:57:01 +0100 Subject: [PATCH] refactor --- ct/homarr.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ct/homarr.sh b/ct/homarr.sh index 32664defc..315f1dc3d 100644 --- a/ct/homarr.sh +++ b/ct/homarr.sh @@ -34,7 +34,7 @@ function update_script() { systemctl stop redis-server msg_ok "Services Stopped" - { systemctl is-enabled nginx >/dev/null 2>&1 && sudo systemctl disable --now nginx >/dev/null 2>&1; } || true + { systemctl is-enabled nginx >/dev/null 2>&1 && systemctl disable -q --now nginx ; } || true if ! { grep -q '^REDIS_IS_EXTERNAL=' /opt/homarr/.env 2>/dev/null || grep -q '^REDIS_IS_EXTERNAL=' /opt/homarr.env 2>/dev/null; }; then DEBIAN_VERSION=$(cat /etc/debian_version 2>/dev/null | cut -d'.' -f1) @@ -48,7 +48,7 @@ function update_script() { exit fi msg_info "Fixing old structure" - systemctl disable nginx -q --now + systemctl disable -q --now nginx # fix musl issues because homarr compiles on alpine not debian soure: https://github.com/alexander-akhmetov/python-telegram/issues/3 $STD apt install -y musl-dev ln -s /usr/lib/x86_64-linux-musl/libc.so /lib/libc.musl-x86_64.so.1