From 8bd47994b685b9a320967876f0efe21170091d84 Mon Sep 17 00:00:00 2001 From: Kroese Date: Mon, 8 May 2023 22:21:52 +0200 Subject: [PATCH] Kill server process --- run/install.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/run/install.sh b/run/install.sh index c153507..8c426f0 100644 --- a/run/install.sh +++ b/run/install.sh @@ -5,9 +5,10 @@ set -Eeuo pipefail HTML="Please wait while Virtual DSM is installing..." -pkill -f server.sh || true -/run/server.sh 80 "${HTML}" > /dev/null & -/run/server.sh 5000 "${HTML}" > /dev/null & +{ pkill -f server.sh || true } 2>/dev/null + +/run/server.sh 80 "${HTML}" & +/run/server.sh 5000 "${HTML}" & # Download the required files from the Synology website DL="https://global.synologydownload.com/download/DSM"