Skip to content

Commit 9d43145

Browse files
authored
Immich: fix small issue with immich-admin "start" script (#7035)
1 parent 9c86eea commit 9d43145

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

ct/immich.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,10 +109,10 @@ function update_script() {
109109
#!/usr/bin/env bash
110110
111111
set -a
112-
. "$INSTALL_DIR"/.env
112+
. ${INSTALL_DIR}/.env
113113
set +a
114114
115-
/usr/bin/node "$APP_DIR"/dist/main.js "\$@"
115+
/usr/bin/node ${APP_DIR}/dist/main.js "\$@"
116116
EOF
117117
chmod +x "$INSTALL_DIR"/start.sh
118118
fi
@@ -148,6 +148,7 @@ EOF
148148
export SHARP_FORCE_GLOBAL_LIBVIPS=true
149149
$STD npm install sharp
150150
rm -rf "$APP_DIR"/node_modules/@img/sharp-{libvips*,linuxmusl-x64}
151+
mv "$INSTALL_DIR"/start.sh "$APP_DIR"/bin
151152
msg_ok "Updated ${APP} web and microservices"
152153

153154
cd "$SRC_DIR"/machine-learning

0 commit comments

Comments
 (0)