sg481n | aaf2df8 | 2017-08-03 17:56:38 -0400 | [diff] [blame] | 1 | #!/bin/bash |
2 | cat <<!EOF | ||||
3 | TZ=GMT0 | ||||
4 | cd /opt/app/datartr; | ||||
5 | if [ -f ${DRTR_PROV_KSTOREFILE:-etc/keystore} ] | ||||
6 | then | ||||
eronkeo | 4261823 | 2018-08-10 15:04:19 +0100 | [diff] [blame] | 7 | exit 0 |
sg481n | aaf2df8 | 2017-08-03 17:56:38 -0400 | [diff] [blame] | 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 |