summaryrefslogtreecommitdiffstats
path: root/standalone/src/main/assembly/bin/stop.sh
diff options
context:
space:
mode:
Diffstat (limited to 'standalone/src/main/assembly/bin/stop.sh')
-rw-r--r--standalone/src/main/assembly/bin/stop.sh17
1 files changed, 2 insertions, 15 deletions
diff --git a/standalone/src/main/assembly/bin/stop.sh b/standalone/src/main/assembly/bin/stop.sh
index 88417b36..598f976b 100644
--- a/standalone/src/main/assembly/bin/stop.sh
+++ b/standalone/src/main/assembly/bin/stop.sh
@@ -15,31 +15,18 @@
# limitations under the License.
#
-DIRNAME=`dirname $0`
-HOME=`cd $DIRNAME/; pwd`
-Main_Class="usecase-ui-server"
-
-echo ================== usecase-ui-server info =============================================
-echo HOME=$HOME
-echo Main_Class=$Main_Class
-echo ===============================================================================
-cd $HOME; pwd
-
-echo @WORK_DIR@ $HOME
-
function shutdown_usecaseui_server(){
echo ================== usecase-ui server shutdown is starting =============================================
- curl -X POST http://127.0.0.1:8082/api/usecaseui/server/v1/shutdown
+ curl -X POST http://127.0.0.1:8082/api/usecaseui-server/v1/shutdown
echo ================== usecase-ui server shutdown finished =============================================
}
function shutdown_usecaseui_db(){
echo ================== usecase-ui database shutdown is starting =============================================
- service mysql stop
+ service postgresql stop
echo ================== usecase-ui database shutdown finished =============================================
}
shutdown_usecaseui_server;
shutdown_usecaseui_db;
echo "*****************usecase server shutdown finished*****************"
-sleep 1