Update postgres.sh

This commit is contained in:
FusionPBX 2017-04-01 16:20:47 -06:00 committed by GitHub
parent 291af70797
commit 11a5514d4c
1 changed files with 1 additions and 1 deletions

View File

@ -58,7 +58,7 @@ if [ ."$database_version" = ."9.4" ]; then
sudo -u postgres /usr/local/bin/pg_ctl -D /var/db/postgres/data94 -l logfile start
fi
if [ ."$database_version" = ."9.3" ]; then
sudo -u postgres /usr/local/bin/pg_ctl -D /var/db/postgres/data93 -l logfile start clean BATCH=yes
sudo -u postgres /usr/local/bin/pg_ctl -D /usr/local/pgsql/data -l logfile start
fi
#restart the service