summaryrefslogtreecommitdiffstats
path: root/startSCH.sh
diff options
context:
space:
mode:
Diffstat (limited to 'startSCH.sh')
-rw-r--r--startSCH.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/startSCH.sh b/startSCH.sh
new file mode 100644
index 0000000..951b1eb
--- /dev/null
+++ b/startSCH.sh
@@ -0,0 +1,8 @@
+#!/bin/bash
+
+grep "^nameserver" /opt/sch/etc/resolv.conf >> /etc/resolv.conf
+
+service sendmail start
+
+java -Dlogback.configurationFile=logback.xml -jar /opt/sch/target/dcae-service-change-handler.jar prod http://consul:8500/v1/kv/service-change-handler?raw=true
+