diff options
author | Guangrong Fu <fu.guangrong@zte.com.cn> | 2017-09-03 00:14:35 +0800 |
---|---|---|
committer | Guangrong Fu <fu.guangrong@zte.com.cn> | 2017-09-03 00:14:35 +0800 |
commit | b6c40da70021a19b9915ea79f28b88035185d1df (patch) | |
tree | a93d159dd9eae34d8b96bfb84f98bb1ba3dee372 /engine-d-standalone/src | |
parent | c25c4cb80a30838bea3cac54755a47495370bf24 (diff) |
Set the confidential info for ActiveMQ
Change the defaut username and password for MQ topics
Change-Id: I244a8229a4cacae439975a3245da3625639408fa
Issue-ID: HOLMES-43
Signed-off-by: Guangrong Fu <fu.guangrong@zte.com.cn>
Diffstat (limited to 'engine-d-standalone/src')
-rw-r--r-- | engine-d-standalone/src/main/assembly/bin/run.sh | 2 |
1 files changed, 2 insertions, 0 deletions
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 --- 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 +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" |