|
@@ -11,7 +11,7 @@ MYSQL_PASSWORD="zJv4DwFL6G2MgSvP@"
|
|
RABBIT_URI="amqp://guest:guest@127.0.0.1:5672"
|
|
RABBIT_URI="amqp://guest:guest@127.0.0.1:5672"
|
|
BIN_PATH="/opt/go/bin"
|
|
BIN_PATH="/opt/go/bin"
|
|
|
|
|
|
-for name in httpaccess registry apiprovider devicemanager controller mqttaccess knowoapi fileaccess coapaccess
|
|
|
|
|
|
+for name in httpaccess bin/registry apiprovider devicemanager controller mqttaccess knowoapi fileaccess coapaccess
|
|
do
|
|
do
|
|
p_id=`ps -ef| grep "$name" |grep -v "grep" | awk '{print $2}'`
|
|
p_id=`ps -ef| grep "$name" |grep -v "grep" | awk '{print $2}'`
|
|
if [ -z "$p_id" ];
|
|
if [ -z "$p_id" ];
|