Re: Linux startup script

From: Darko Prenosil <darko(dot)prenosil(at)finteh(dot)hr>
To: Andrew Overholt <overholt(at)redhat(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Linux startup script
Date: 2003-06-05 17:17:18
Message-ID: 200306051917.18966.darko.prenosil@finteh.hr
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Thursday 05 June 2003 16:08, Andrew Overholt wrote:
> Darko Prenosil once said:
> > I have noticed that after "/etc/init.d/postgresql restart", postmaster is
> > no longer writes to "serverlog". (RedHat 9).
> > Here is fixed "restart" section.
> >
> > restart)
> > echo -n "Restarting PostgreSQL: "
> > su - $PGUSER -c "$DAEMON restart -D '$PGDATA' -s -m fast -l $PGLOG"
> > echo "ok"
> > ;;
>
> What version of the RPMs are you running (and are they PGDG or RH)? The
> version that I have has the following restart section:
>

PostgreSQL 7.3.3 compilled from source.

>
> restart(){
> stop
> start
> }
>
> I've checked the PGDG RHL9 ones and see the same thing...
>
> Andrew

I was talking about startup script in contrib directory of postgresql source,
not RH startup script. I mentioned RedHat only because that directory
contains startup scripts for platforms other than linux, and to avoid any
misunderstanding. So this is sure not Yours (RedHat) fault.

Bruce Momijan already applied patch to current CVS, so this if fixed !

Regards !

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Rod Taylor 2003-06-05 17:29:31 Re: Proposal to Re-Order Postgresql.Conf, part II
Previous Message Tom Lane 2003-06-05 17:07:44 Re: Aggregates containing outer references don't work per spec