You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
9 lines
177 B
Bash
9 lines
177 B
Bash
6 months ago
|
#!/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
|