Update postgres.sh

This commit is contained in:
FusionPBX 2017-04-01 18:24:16 -06:00 committed by GitHub
parent 595f58f038
commit 45994e461e
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 sudo -u postgres /usr/local/bin/pg_ctl -D /var/db/postgres/data94 -l logfile start
fi fi
if [ ."$database_version" = ."9.3" ]; then if [ ."$database_version" = ."9.3" ]; then
sudo -u postgres /usr/local/bin/pg_ctl -D /usr/local/pgsql/data -l logfile start sudo -u pgsql /usr/local/bin/pg_ctl -D /usr/local/pgsql/data -l logfile start
fi fi
#restart the service #restart the service