mirror of
https://github.com/mudler/LocalAI.git
synced 2025-04-12 21:53:11 +00:00
fix(install.sh): correctly handle systemd service installation (#2627)
Fixup install.sh systemd service installation Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
This commit is contained in:
parent
964732590d
commit
260f2e1d94
4
docs/static/install.sh
vendored
4
docs/static/install.sh
vendored
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user