Soft Patch Panel
 help / color / mirror / Atom feed
* [spp] [PATCH 0/1] Add option for waiting pri in startup script
@ 2019-10-14 18:45 Yasufumi Ogawa
  2019-10-14 18:45 ` [spp] [PATCH 1/1] bin: add opt " Yasufumi Ogawa
  0 siblings, 1 reply; 2+ messages in thread
From: Yasufumi Ogawa @ 2019-10-14 18:45 UTC (permalink / raw)
  To: spp, ferruh.yigit, yasufum.o

This update is to add option `--wait-pri` for `bin/start.sh`. It is
applied to both of the latest and stable-v18.08 repositories.

Yasufumi Ogawa (1):
  bin: add opt for waiting pri in startup script

 bin/start.sh | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

-- 
2.17.1


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [spp] [PATCH 1/1] bin: add opt for waiting pri in startup script
  2019-10-14 18:45 [spp] [PATCH 0/1] Add option for waiting pri in startup script Yasufumi Ogawa
@ 2019-10-14 18:45 ` Yasufumi Ogawa
  0 siblings, 0 replies; 2+ messages in thread
From: Yasufumi Ogawa @ 2019-10-14 18:45 UTC (permalink / raw)
  To: spp, ferruh.yigit, yasufum.o

This update is to add option `--wait-pri` for `bin/start.sh`.

Signed-off-by: Yasufumi Ogawa <yasufum.o@gmail.com>
---
 bin/start.sh | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/bin/start.sh b/bin/start.sh
index f39d5f6..2f4e31a 100755
--- a/bin/start.sh
+++ b/bin/start.sh
@@ -64,7 +64,6 @@ echo "Start spp_primary"
 start_spp_pri
 
 if [ ! ${DRY_RUN} ]; then
-    echo "Waiting for spp-ctl is ready ..."
-    sleep 1
-    python3 ${SPP_DIR}/src/spp.py -b ${SPP_HOST_IP}
+    sleep 1  # wait for spp-ctl is ready
+    python3 ${SPP_DIR}/src/spp.py -b ${SPP_HOST_IP} --wait-pri
 fi
-- 
2.17.1


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-10-14 18:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-14 18:45 [spp] [PATCH 0/1] Add option for waiting pri in startup script Yasufumi Ogawa
2019-10-14 18:45 ` [spp] [PATCH 1/1] bin: add opt " Yasufumi Ogawa

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).