blob: d49680169bd9d98a4b993067918d0e49f80e0fd4 [file] [log] [blame]
sg481naaf2df82017-08-03 17:56:38 -04001#!/bin/bash
2cat <<!EOF
3TZ=GMT0
4cd /opt/app/datartr;
5if [ -f ${DRTR_PROV_KSTOREFILE:-etc/keystore} ]
6then
eronkeo42618232018-08-10 15:04:19 +01007 exit 0
sg481naaf2df82017-08-03 17:56:38 -04008fi
9echo `date '+%F %T,000'` WARN Certificate file "${DRTR_PROV_KSTOREFILE:-etc/keystore}" is missing >>${DRTR_PROV_LOGS:-logs}/provint.log
10exit 1
11!EOF