shell update

This commit is contained in:
Gordon
2021-09-13 21:25:06 +08:00
parent 90e626c261
commit 0d04955bdd
3 changed files with 35 additions and 3 deletions
+1 -1
View File
@@ -25,7 +25,7 @@ for ((i = 0; i < ${#rpc_ports[@]}; i++)); do
nohup ./${push_name} -port ${rpc_ports[$i]} >>../logs/${push_name}.log 2>&1 &
done
sleep 1
sleep 3
#Check launched service process
check=$(ps aux | grep -w ./${push_name} | grep -v grep | wc -l)
if [ $check -eq 1 ]; then