File tree Expand file tree Collapse file tree
OpenICF-java-framework/openicf-zip/src/main/resources/bin Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4444 brew install coreutils jsvc
4545 fi
4646 openicf/bin/openicf.sh start
47+ timeout 2m bash -c 'until grep -q "ConnectorServer listening on" openicf/logs/ConnectorServer.log ; do sleep 5; done'
48+ ! grep " ERROR " openicf/logs/ConnectorServer.log || cat openicf/logs/ConnectorServer.log
4749 openicf/bin/openicf.sh stop
4850 rm -rf openicf/logs
4951 openicf/bin/ConnectorServer.sh /run &
Original file line number Diff line number Diff line change @@ -98,7 +98,7 @@ case "$1" in
9898
9999 # Stop the service
100100 jsvc_exec " -stop"
101- kill -9 $PID 2> /dev/null || true
101+
102102 echo " The $DESC has stopped."
103103 ;;
104104 restart)
@@ -108,7 +108,7 @@ case "$1" in
108108
109109 # Stop the service
110110 jsvc_exec " -stop"
111- kill -9 $PID 2> /dev/null || true
111+
112112 # Start the service
113113 jsvc_exec " -wait 120"
114114
You can’t perform that action at this time.
0 commit comments