Re: auto start up at boot time

From: Darren Ferguson <darren(at)crystalballinc(dot)com>
To: Cindy <ctmoore(at)uci(dot)edu>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: auto start up at boot time
Date: 2002-01-09 23:39:46
Message-ID: Pine.LNX.4.10.10201091838400.31760-100000@thread.crystalballinc.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)uci(dot)edu
>
> ---------------------------(end of broadcast)---------------------------
> TIP 6: Have you searched our list archives?
>
> http://archives.postgresql.org
>

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Doug McNaught 2002-01-09 23:57:28 Re: auto start up at boot time
Previous Message Cindy 2002-01-09 22:46:38 auto start up at boot time