Add restart server command

This commit is contained in:
Kelvin Ly (on the cloud) 2019-07-19 02:10:32 +00:00
parent 4bb04bb921
commit 39eaeb2a33
1 changed files with 5 additions and 0 deletions

5
restart-server.sh Executable file
View File

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