commit | 7c70836384ce1a198a030a737e3053c46d26ac92 | [log] [tgz] |
---|---|---|
author | Yuta HIGUCHI <y-higuchi@onlab.us> | Mon Jun 02 23:15:13 2014 -0700 |
committer | Gerrit Code Review <gerrit2@gerrit.onos.onlab.us> | Tue Jun 03 18:24:55 2014 -0700 |
tree | 9c8fa78dbdf59b8dcc4ee2d7ba178366de896359 | |
parent | 7873c935b5b830faa3c54bb0dcf2605eacacdff9 [diff] [blame] |
Stop ZooKeeper using ZooKeeper script Change-Id: Idb3a87e441cec6c18cf4f9247ef03cc53fbee480
diff --git a/onos.sh b/onos.sh index 0a2ea2e..32888c3 100755 --- a/onos.sh +++ b/onos.sh
@@ -469,7 +469,10 @@ } function stop-zk { - kill-processes "ZooKeeper" `jps -l | grep org.apache.zookeeper.server | awk '{print $1}'` + echo -n "Stopping ZooKeeper ... " + load-zk-cfg + + ${ZK_HOME}/bin/zkServer.sh stop } function status-zk {