awips2/deltaScripts/17.1.1/DR5794/openfire-postgresql-9.5.3-upgrade/postgres_pre_upgrade_openfire.sh
2022-05-05 12:34:50 -05:00

8 lines
172 B
Bash
Executable file

#!/bin/bash
if [[ "$(id -u)" -ne 0 ]]; then
echo "$(basename $0): need to be root."
exit 1
fi
sudo -nu awips bash $(dirname $0)/_postgres_pre_upgrade_openfire.sh