From bc450951067193b5b32a354ec82e92919778a807 Mon Sep 17 00:00:00 2001 From: "Au, Bill (wa998j)" Date: Fri, 10 Aug 2018 11:01:25 -0400 Subject: EELF and email notification Issue-ID: DCAEGEN2-554 Change-Id: Ibcc19aa84c4bd687fb258b4e1effddedb0328871 Signed-off-by: Au, Bill (wa998j) --- startSCH.sh | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 startSCH.sh (limited to 'startSCH.sh') 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 + -- cgit 1.2.3-korg