diff options
author | Au, Bill (wa998j) <wa998j@att.com> | 2018-08-10 11:01:25 -0400 |
---|---|---|
committer | Lusheng Ji <lji@research.att.com> | 2018-08-20 14:12:02 -0400 |
commit | bc450951067193b5b32a354ec82e92919778a807 (patch) | |
tree | 268db18312f736e35c57cda51f20918d4488a041 /startSCH.sh | |
parent | 90a448d6c9b73a76f49b5681a51c3531b978a0a4 (diff) |
EELF and email notification
Issue-ID: DCAEGEN2-554
Change-Id: Ibcc19aa84c4bd687fb258b4e1effddedb0328871
Signed-off-by: Au, Bill (wa998j) <wa998j@att.com>
Diffstat (limited to 'startSCH.sh')
-rw-r--r-- | startSCH.sh | 8 |
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 + |