Update install/ubuntu/install.ubuntu.sh

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
This commit is contained in:
Ingo Ratsdorf
2025-09-10 08:49:48 +12:00
committed by GitHub
parent 1399e3881a
commit b0d117c3b8

View File

@@ -61,7 +61,7 @@ if [ -d "$INSTALL_DIR" ]; then
elif [ "$confirmation" == "update" ]; then
echo "Updating the existing installation..."
service nginx stop 2>/dev/null
pkill -f "python /app/server" 2>/dev/null
pkill -f "python ${INSTALL_DIR}/server" 2>/dev/null
cd "$INSTALL_DIR" || { echo "Failed to change directory to $INSTALL_DIR"; exit 1; }
git pull
elif [ "$confirmation" == "start" ]; then