Re: auto start up at boot time - Mailing list pgsql-general

From Darren Ferguson
Subject Re: auto start up at boot time
Date
Msg-id Pine.LNX.4.10.10201091838400.31760-100000@thread.crystalballinc.com
Whole thread Raw
In response to auto start up at boot time  (Cindy <ctmoore@uci.edu>)
List pgsql-general
You could try using the command

su <unpriveldged user> -c <command you want to run>

Make that your script and you should not have any problems

Darren

Darren Ferguson

On Wed, 9 Jan 2002, Cindy wrote:

>
> Hi, all.  I'm trying to figure out how to have postmaster
> automatically restart upon rebooting (on a Sun Solaris system).  I
> added a script to the /etc/rc3.d directory, but turns out it has to
> run under non-root privs.  It referred to the INSTALL file for further
> info, but I couldn't find this file, and all the documentation I
> looked at discussed starting postmaster on the command line.  Any
> suggestions or pointers to where I should look at?
>
> Thanks,
> --Cindy
> --
> ctmoore@uci.edu
>
> ---------------------------(end of broadcast)---------------------------
> TIP 6: Have you searched our list archives?
>
> http://archives.postgresql.org
>


pgsql-general by date:

Previous
From: Cindy
Date:
Subject: auto start up at boot time
Next
From: Doug McNaught
Date:
Subject: Re: auto start up at boot time