mirror of
https://github.com/jokob-sk/NetAlertX.git
synced 2026-09-18 10:31:31 -04:00
Update install/ubuntu/install.ubuntu.sh
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
This commit is contained in:
1 parent
1399e3881a
commit
b0d117c3b8
1 file changed
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user