mirror of
https://github.com/mudler/LocalAI.git
synced 2025-05-20 10:35:01 +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
1 changed files with 2 additions and 2 deletions
4
docs/static/install.sh
vendored
4
docs/static/install.sh
vendored
|
@ -9,7 +9,7 @@
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
set -o noglob
|
set -o noglob
|
||||||
set -x
|
#set -x
|
||||||
|
|
||||||
# --- helper functions for logs ---
|
# --- helper functions for logs ---
|
||||||
info()
|
info()
|
||||||
|
@ -538,7 +538,7 @@ install_binary() {
|
||||||
$SUDO install -o0 -g0 -m755 $TEMP_DIR/local-ai $BINDIR/local-ai
|
$SUDO install -o0 -g0 -m755 $TEMP_DIR/local-ai $BINDIR/local-ai
|
||||||
|
|
||||||
verify_system
|
verify_system
|
||||||
if [ "$HAS_SYSTEMD" == "true" ]; then
|
if [ "$HAS_SYSTEMD" = true ]; then
|
||||||
configure_systemd
|
configure_systemd
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue