This commit is contained in:
aozhiwei 2019-03-08 20:16:23 +08:00
parent 76aa2999c2
commit b01f0f6ca8

16
server/bin/restart.sh Executable file
View File

@ -0,0 +1,16 @@
#!/bin/bash
pkill dbproxy
nohup ./dbproxy -i 1 > dbproxy1.out 2>&1 &
sleep 1
nohup ./dbproxy -i 2 > dbproxy2.out 2>&1 &
sleep 1
nohup ./dbproxy -i 3 > dbproxy3.out 2>&1 &
sleep 1
nohup ./dbproxy -i 4 > dbproxy4.out 2>&1 &
sleep 1
nohup ./dbproxy -i 5 > dbproxy5.out 2>&1 &
sleep 1
nohup ./dbproxy -i 6 > dbproxy6.out 2>&1 &
sleep 1