awips2/deltaScripts/17.1.1/DR5794/openfire-postgresql-9.5.3-upgrade/postgres_pre_upgrade_openfire.sh
2017-04-21 18:33:55 -06: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