Make Postgres name use consistent

This commit is contained in:
Robert Treat
2018-10-29 18:34:28 -05:00
committed by GitHub
parent 82776162d1
commit 84b6fde653

View File

@@ -20,23 +20,23 @@ done
function postgres_start { function postgres_start {
about 'Starts PostgresSQL server' about 'Starts PostgreSQL server'
group 'postgres' group 'postgres'
echo 'Starting PostgresSQL Server....'; echo 'Starting Postgres....';
$POSTGRES_BIN/pg_ctl -D $PGDATA -l $PGDATA/logfile start $POSTGRES_BIN/pg_ctl -D $PGDATA -l $PGDATA/logfile start
} }
function postgres_stop { function postgres_stop {
about 'Steps PostgresSQL server' about 'Stops PostgreSQL server'
group 'postgres' group 'postgres'
echo 'Stopping PostgresSQL Server....'; echo 'Stopping Postgres....';
$POSTGRES_BIN/pg_ctl -D $PGDATA -l $PGDATA/logfile stop -s -m fast $POSTGRES_BIN/pg_ctl -D $PGDATA -l $PGDATA/logfile stop -s -m fast
} }
function postgres_status { function postgres_status {
about 'Returns status of PostgresSQL server' about 'Returns status of PostgreSQL server'
group 'postgres' group 'postgres'
# $POSTGRES_BIN/pg_ctl -D $PGDATA status # $POSTGRES_BIN/pg_ctl -D $PGDATA status
@@ -55,7 +55,7 @@ function is_postgres_running {
function postgres_restart { function postgres_restart {
about 'Restarts status of PostgresSQL server' about 'Restarts status of PostgreSQL server'
group 'postgres' group 'postgres'
echo 'Restarting Postgres....'; echo 'Restarting Postgres....';