From 260f2e1d947aa879a91e2a4be728228cf100a4b2 Mon Sep 17 00:00:00 2001 From: Ettore Di Giacinto Date: Fri, 21 Jun 2024 23:56:06 +0200 Subject: [PATCH] fix(install.sh): correctly handle systemd service installation (#2627) Fixup install.sh systemd service installation Signed-off-by: Ettore Di Giacinto --- docs/static/install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/static/install.sh b/docs/static/install.sh index 3412803c..7c4977e5 100644 --- a/docs/static/install.sh +++ b/docs/static/install.sh @@ -9,7 +9,7 @@ set -e set -o noglob -set -x +#set -x # --- helper functions for logs --- info() @@ -538,7 +538,7 @@ install_binary() { $SUDO install -o0 -g0 -m755 $TEMP_DIR/local-ai $BINDIR/local-ai verify_system - if [ "$HAS_SYSTEMD" == "true" ]; then + if [ "$HAS_SYSTEMD" = true ]; then configure_systemd fi