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 @@ -40,12 +40,12 @@ jobs:
4040 openicf/bin/ConnectorServer.sh
4141 if [ "$RUNNER_OS" == "Linux" ]; then
4242 sudo apt-get install jsvc
43- openicf/bin/openicf.sh start
44- openicf/bin/openicf.sh stop
45- rm -rf openicf/logs
4643 else
4744 brew install coreutils jsvc
4845 fi
46+ openicf/bin/openicf.sh start
47+ openicf/bin/openicf.sh stop
48+ rm -rf openicf/logs
4949 openicf/bin/ConnectorServer.sh /run &
5050 timeout 2m bash -c 'until grep -q "ConnectorServer listening on" openicf/logs/ConnectorServer.log ; do sleep 5; done'
5151 ! grep " ERROR " openicf/logs/ConnectorServer.log
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-
101+ kill -9 $PID 2> /dev/null || true
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-
111+ kill -9 $PID 2> /dev/null || true
112112 # Start the service
113113 jsvc_exec " -wait 120"
114114
You can’t perform that action at this time.
0 commit comments