awips2/deltaScripts/20.3.1/DR8266/UpdateEnvelope.sh
2022-05-05 12:34:50 -05:00

15 lines
561 B
Bash
Executable file

#! /bin/bash
#
# This delta script should be run on dv3 prior to starting EDEX.
# It updates the schema of the viirs_spatial and modis_spatial tables for 20.3.1.
# It needs to be run on an EDEX processing server so it can access the EDEX Postgres SSL certs.
#
# This script requires the UpdateEnvelope.jar file to be located
# in the same directory as the script.
#
# source the edex setup.env file to get DB_HOST
source /awips2/edex/bin/setup.env
dir=`dirname $0`
java -jar ${dir}/UpdateEnvelope.jar -host ${DB_HOST} -certDirPath /awips2/edex/conf/db/auth/