Amendment to linux rc script

Started by Kevin O' Riordanabout 25 years ago2 messagesbugs
Jump to latest
#1Kevin O' Riordan
koriordan@compsoc.com

Hi Postgres-people,
in the linux rc script for (start|stop)ing postgres
a comment says to add the following lines to the postgres
users' .bash_profile:

PATH=$PATH:$HOME/bin
MANPATH=$MANPATH:/opt/pgsql/man
PGLIB=/opt/pgsql/lib
PGDATA=/opt/pgsql/data

There should also be a line to export said variables, like so:

export PATH MANPATH PGLIB PGDATA

Had problems with that when setting up postgres on redhat just now.

Thanks for an excellent database package !
-kev

--
trees can't You grep dead

#2Bruce Momjian
bruce@momjian.us
In reply to: Kevin O' Riordan (#1)
Re: Amendment to linux rc script

Seems that is not our script, but made by some other organization.

Hi Postgres-people,
in the linux rc script for (start|stop)ing postgres
a comment says to add the following lines to the postgres
users' .bash_profile:

PATH=$PATH:$HOME/bin
MANPATH=$MANPATH:/opt/pgsql/man
PGLIB=/opt/pgsql/lib
PGDATA=/opt/pgsql/data

There should also be a line to export said variables, like so:

export PATH MANPATH PGLIB PGDATA

Had problems with that when setting up postgres on redhat just now.

Thanks for an excellent database package !
-kev

--
trees can't You grep dead

---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026