first commit
This commit is contained in:
8
sbin/restart.sh
Normal file
8
sbin/restart.sh
Normal file
@ -0,0 +1,8 @@
|
||||
#!/bin/sh
|
||||
|
||||
workdir=$(cd `dirname $0`;pwd)
|
||||
cd $workdir || (echo "change to $workdir failed" && exit 1)
|
||||
|
||||
./stop.sh || { echo "stop server failed" && exit 1; }
|
||||
sleep 1
|
||||
./start.sh
|
||||
Reference in New Issue
Block a user