Add delay to server restart so it doesn't get confused

This commit is contained in:
Kelvin Ly 2019-07-18 22:40:21 -04:00
parent 94372bc842
commit 5f7c56daba
1 changed files with 2 additions and 0 deletions

View File

@ -2,4 +2,6 @@
kill `cat /tmp/main-server-pid`
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
# lol
sleep 1
$DIR/main-server