Kill server process

This commit is contained in:
Kroese 2023-05-08 22:21:52 +02:00 committed by GitHub
parent aafcc633c2
commit 8bd47994b6

View File

@ -5,9 +5,10 @@ set -Eeuo pipefail
HTML="Please wait while Virtual DSM is installing...<script>\ HTML="Please wait while Virtual DSM is installing...<script>\
setTimeout(() => { document.location.reload(); }, 9999);</script>" setTimeout(() => { document.location.reload(); }, 9999);</script>"
pkill -f server.sh || true { pkill -f server.sh || true } 2>/dev/null
/run/server.sh 80 "${HTML}" > /dev/null &
/run/server.sh 5000 "${HTML}" > /dev/null & /run/server.sh 80 "${HTML}" &
/run/server.sh 5000 "${HTML}" &
# Download the required files from the Synology website # Download the required files from the Synology website
DL="https://global.synologydownload.com/download/DSM" DL="https://global.synologydownload.com/download/DSM"