From 45994e461e7e486a547bc732c3f875c393d05f18 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Sat, 1 Apr 2017 18:24:16 -0600 Subject: [PATCH] Update postgres.sh --- freebsd/resources/postgres.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/freebsd/resources/postgres.sh b/freebsd/resources/postgres.sh index eb9ada5..c26b761 100755 --- a/freebsd/resources/postgres.sh +++ b/freebsd/resources/postgres.sh @@ -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 /usr/local/pgsql/data -l logfile start + sudo -u pgsql /usr/local/bin/pg_ctl -D /usr/local/pgsql/data -l logfile start fi #restart the service