Code Review
/
dmaap
/
datarouter.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
e2389868e7072fb2e8993c087b8146be9ea990f9
[dmaap/datarouter.git]
/
datarouter-prov
/
src
/
main
/
resources
/
misc
/
havecert.tmpl
1
#!/bin/bash
2
cat <<!EOF
3
TZ=GMT0
4
cd /opt/app/datartr;
5
if [ -f ${DRTR_PROV_KSTOREFILE:-etc/keystore} ]
6
then
7
exit 0
8
fi
9
echo `date '+%F %T,000'` WARN Certificate file "${DRTR_PROV_KSTOREFILE:-etc/keystore}" is missing >>${DRTR_PROV_LOGS:-logs}/provint.log
10
exit 1
11
!EOF