postgresql start w 8.0.1

Marcin Gajda m at cs.net.pl
Wed Feb 16 16:01:59 CET 2005


On Wed, Feb 16, 2005 at 03:57:03PM +0100, Marcin Gajda wrote:

> Zbrakło - w su w rc-skrpcie
> 
> < output=`TMPDIR=/tmp su postgres -c "/usr/bin/pg_ctl -D $1 status"`
> 
> > output=`TMPDIR=/tmp su - postgres -c "/usr/bin/pg_ctl -D $1 status"`

Przynajmniej tak to wygląda. Nie poprawiam, gdyż nie wiem, jakie są
wytyczne dla używana su w rc-skryptach - może ktoś mnie oświeci?

Pozdrawiam,
-- 
Marcin Gajda ____ http://ustawki.net/
Linux registered user #300108 _______
Dieu me pardonnera - c'est son metier




More information about the pld-devel-pl mailing list