yingzi 2 anni fa
parent
commit
a24bd0fd41
2 ha cambiato i file con 4 aggiunte e 4 eliminazioni
  1. 4 0
      swoole_server/seaBlueserviceRolad.sh
  2. 0 4
      swoole_server/serviceRolad.sh

+ 4 - 0
swoole_server/seaBlueserviceRolad.sh

@@ -0,0 +1,4 @@
+#!/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

+ 0 - 4
swoole_server/serviceRolad.sh

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