On Thu, 11 May 100, Mu Florentino wrote:

> I'm using slackware 7.0, iwht kernel 2.2.13.  My problem
> is I cant start postgres at rc.local because su wont work.
> It seems that running su just call tcsh or bash and not the 
> su program itself.  I even tried calling /bin/su and it still
> called tcsh/bash.

Try this:

/bin/su postgres -c "nohup /path/to/postmaster -i -D /path/to/data >
/path/to/postgres.log 2>&1 & "


Sincerely, 

Froilan C. Mendoza      
Manager - Systems Management
Tridel Technologies, Inc.
http://www.tridel.net




-
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]

Reply via email to