---
sh update
This commit is contained in:
aalehin 2023-05-27 16:37:29 +03:00
parent d2da0e24c4
commit 18f17923f9
3 changed files with 11 additions and 0 deletions

View file

@ -16,5 +16,6 @@ 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}')
kill -9 $(ps -ef | grep java | grep swt-importer.jar | awk '{print $2}')

View file

@ -16,3 +16,4 @@ cd /opt/mfd/clearing/bin
/opt/mfd/clearing/bin/scheduler-service.sh
/opt/mfd/clearing/bin/reports-service.sh
/opt/mfd/clearing/bin/registry-service.sh
/opt/mfd/clearing/bin/swt-importer.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=7111 -jar swt-importer.jar --spring.config.location=$CLEARING_HOME/settings/swt-importer/"
$CMD >/dev/null 2>&1 &