summaryrefslogtreecommitdiffstats
path: root/startSCH.sh
blob: 951b1ebd694f6e7ff31ba2e8655ec304d779d440 (plain)
1
2
3
4
5
6
7
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