yingzi 1 year ago
parent
commit
736bfa3eb2
2 changed files with 4 additions and 4 deletions
  1. 4 0
      swoole_server/seaBlueSRolad.sh
  2. 0 4
      swoole_server/seaBlueserviceRolad.sh

+ 4 - 0
swoole_server/seaBlueSRolad.sh

@@ -0,0 +1,4 @@
+#!/bin/bash
+cd $PWD
+ps aux |grep $1 | grep -v 'grep' | grep -v 'seaBlueSRolad.sh'  |awk '{print $2}' | xargs kill -9
+php start.php --service=$1 --daemonize=$2

+ 0 - 4
swoole_server/seaBlueserviceRolad.sh

@@ -1,4 +0,0 @@
-#!/bin/bash
-cd $PWD
-ps aux |grep $1 | grep -v 'grep' | grep -v 'seaBlueserviceRolad.sh'  |awk '{print $2}' | xargs kill -9
-php start.php --service=$1 --daemonize=$2