Code Review
/
holmes
/
engine-management.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Set the confidential info for ActiveMQ
[holmes/engine-management.git]
/
engine-d-standalone
/
src
/
main
/
assembly
/
bin
/
run.sh
diff --git
a/engine-d-standalone/src/main/assembly/bin/run.sh
b/engine-d-standalone/src/main/assembly/bin/run.sh
index
6935858
..
b33862d
100644
(file)
--- a/
engine-d-standalone/src/main/assembly/bin/run.sh
+++ b/
engine-d-standalone/src/main/assembly/bin/run.sh
@@
-31,6
+31,8
@@
echo @JAVA_OPTS@ $JAVA_OPTS
class_path="$main_path/:$main_path/holmes-engine-d.jar"
echo @class_path@ $class_path
class_path="$main_path/:$main_path/holmes-engine-d.jar"
echo @class_path@ $class_path
+sed -i "s/activemq.username=.*/activemq.username=activemq/" /home/activemq/apache-activemq-5.9.0/conf/credentials.properties
+sed -i "s/activemq.password=.*/activemq.password=v1/" /home/activemq/apache-activemq-5.9.0/conf/credentials.properties
/home/activemq/apache-activemq-5.9.0/bin/activemq start
sed -i "s|url:.*|url: jdbc:mysql://$URL_JDBC/holmes|" "$main_path/conf/engine-d.yml"
/home/activemq/apache-activemq-5.9.0/bin/activemq start
sed -i "s|url:.*|url: jdbc:mysql://$URL_JDBC/holmes|" "$main_path/conf/engine-d.yml"