aboutsummaryrefslogtreecommitdiffstats
path: root/misc/havecert.tmpl
blob: 00a0a3466055c8142d4d2aeb954e227a45c2a003 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/bash
cat <<!EOF
TZ=GMT0
cd /opt/app/dmaapbc;
if [ -f ${DMAAPBC_KSTOREFILE:-etc/keystore} ]
then
	exit 0
fi
echo `date '+%F %T,000'` WARN Certificate file "${DMAAPBC_KSTOREFILE:-etc/keystore}" is missing >>${DMAAPBC_LOGS:-logs}/dmaapbc.log
exit 1
!EOF