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