sh update

This commit is contained in:
aalehin 2023-05-26 16:33:19 +03:00
parent 8e9f6143e4
commit 878ec0fcbb
3 changed files with 11 additions and 0 deletions

View file

@ -15,5 +15,6 @@ kill -9 $(ps -ef | grep java | grep securities-service.jar | awk '{print $2}')
kill -9 $(ps -ef | grep java | grep utility-service.jar | awk '{print $2}')
kill -9 $(ps -ef | grep java | grep scheduler-service.jar | awk '{print $2}')
kill -9 $(ps -ef | grep java | grep reports-service.jar | awk '{print $2}')
kill -9 $(ps -ef | grep java | grep registry-service.jar | awk '{print $2}')

View file

@ -15,3 +15,4 @@ cd /opt/mfd/clearing/bin
/opt/mfd/clearing/bin/utility-service.sh
/opt/mfd/clearing/bin/scheduler-service.sh
/opt/mfd/clearing/bin/reports-service.sh
/opt/mfd/clearing/bin/registry-service.sh

View file

@ -0,0 +1,9 @@
#!/bin/bash
CLEARING_HOME=/opt/mfd/clearing/
cd $CLEARING_HOME/bin
CMD="java -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=7880 -jar registry-service.jar --spring.config.location=$CLEARING_HOME/settings/registry-service/"
$CMD >/dev/null 2>&1 &