summaryrefslogtreecommitdiffstats
path: root/dcaedt_validator/configure-and-run.sh
diff options
context:
space:
mode:
Diffstat (limited to 'dcaedt_validator/configure-and-run.sh')
-rw-r--r--dcaedt_validator/configure-and-run.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/dcaedt_validator/configure-and-run.sh b/dcaedt_validator/configure-and-run.sh
new file mode 100644
index 0000000..db6fb4b
--- /dev/null
+++ b/dcaedt_validator/configure-and-run.sh
@@ -0,0 +1,7 @@
+#!/bin/bash
+
+LOGFILE=/opt/app/validator/logs/validator-`date +%Y%m%d`.log
+echo "`date`:<-------------------- Starting -------------------->" >> $LOGFILE
+exec java -cp .:ASC-Validator.jar ${INTROSCOPE} ${INTRONAME} org.springframework.boot.loader.JarLauncher 2>&1 | tee -a $LOGFILE
+#exec java -cp .:ASC-Validator-Service-0.0.1704-SNAPSHOT.jar org.springframework.boot.loader.JarLauncher 2>&1 | tee -a $LOGFILE
+