mirror of
https://github.com/vdsm/virtual-dsm.git
synced 2026-11-11 08:42:42 +01:00
Wait message
This commit is contained in:
1 parent
5730a2f0d7
commit
6d6d08c2a8
1 file changed
+2
-4
+2
-4
@@ -1,12 +1,10 @@
|
||||
#!/usr/bin/env bash
|
||||
set -Eeuo pipefail
|
||||
|
||||
# Display wait message on port 5000
|
||||
HTML="Please wait while Virtual DSM is installing...<script>\
|
||||
setTimeout(() => { document.location.reload(); }, 9999);</script>"
|
||||
|
||||
{ pkill -f server.sh || true; } 2>/dev/null
|
||||
setTimeout(() => { document.location.reload(); }, 9999);</script>"
|
||||
|
||||
# Display wait message on port 5000
|
||||
/run/server.sh 80 "${HTML}" &
|
||||
/run/server.sh 5000 "${HTML}" &
|
||||
|
||||
|
||||
Reference in new issue
Block a user