From 6e062bb250c0038ba2143d107afd009b9f5b8a46 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=92=D0=B8=D0=BA=D1=82=D0=BE=D1=80?= Date: Mon, 18 May 2026 06:53:17 +0900 Subject: [PATCH] =?UTF-8?q?=D0=9F=D0=BE=D0=BA=D0=B0=D0=B7=D1=8B=D0=B2?= =?UTF-8?q?=D0=B0=D1=82=D1=8C=20=D0=B8=D1=82=D0=BE=D0=B3=20=D1=83=D1=81?= =?UTF-8?q?=D1=82=D0=B0=D0=BD=D0=BE=D0=B2=D0=BA=D0=B8=20=D0=B4=D0=B0=D0=B6?= =?UTF-8?q?=D0=B5=20=D0=BF=D1=80=D0=B8=20=D0=BF=D1=80=D0=BE=D0=B1=D0=BB?= =?UTF-8?q?=D0=B5=D0=BC=D0=B5=20=D0=B7=D0=B0=D0=BF=D1=83=D1=81=D0=BA=D0=B0?= =?UTF-8?q?=20xlxd?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/install-system.sh | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/scripts/install-system.sh b/scripts/install-system.sh index b4001bf..3d3e587 100644 --- a/scripts/install-system.sh +++ b/scripts/install-system.sh @@ -176,8 +176,23 @@ a2dissite 000-default.conf >/dev/null 2>&1 || true a2ensite xlx-panel.conf systemctl restart apache2 +echo "Building and installing xlxd reflector. This can take a few minutes..." bash "$REPO_ROOT/scripts/install-xlxd.sh" -systemctl start xlxd || true + +XLXD_START_STATUS="not started" +if command -v timeout >/dev/null 2>&1; then + if timeout 20s systemctl start xlxd; then + XLXD_START_STATUS="started" + else + XLXD_START_STATUS="start failed or timed out; run: sudo systemctl status xlxd --no-pager" + fi +else + if systemctl start xlxd; then + XLXD_START_STATUS="started" + else + XLXD_START_STATUS="start failed; run: sudo systemctl status xlxd --no-pager" + fi +fi cat <