Code Review
/
dmaap
/
datarouter.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
history
|
raw
|
HEAD
Merge "Unit test base"
[dmaap/datarouter.git]
/
datarouter-node
/
src
/
main
/
resources
/
misc
/
havecert.tmpl
1
#!/bin/bash
2
cat <<!EOF
3
TZ=GMT0
4
cd /opt/app/datartr;
5
if [ -f ${DRTR_NODE_KSTOREFILE:-etc/keystore} ]
6
then
7
exit 0
8
fi
9
echo `date '+%F %T,000'` WARN Certificate file "${DRTR_NODE_KSTOREFILE:-etc/keystore}" is missing >>${DRTR_NODE_LOGS:-logs}/node.log
10
exit 1
11
!EOF