	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"
	;;

In version 7.3.3 is missing "-l $PGLOG" at the end of "$DAEMON restart" 
command.

	Regards !


Thu, 29 May 2003 20:44:22 +0200
Darko Prenosil <darko.prenosil@finteh.hr>
Linux startup script

Your patch has been added to the PostgreSQL unapplied patches list at:

	http://momjian.postgresql.org/cgi-bin/pgpatches

I will try to apply it within the next 48 hours.

---------------------------------------------------------------------------


Darko Prenosil wrote:
> 	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"
> 	;;
> 
> In version 7.3.3 is missing "-l $PGLOG" at the end of "$DAEMON restart" 
> command.
> 
> 	Regards !
> 
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org
> 

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

Mon, 2 Jun 2003 12:18:05 -0400 (EDT)
Bruce Momjian <pgman@candle.pha.pa.us>
Re: Linux startup script
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:


restart(){
    stop
    start
}

I've checked the PGDG RHL9 ones and see the same thing...

Andrew

Thu, 5 Jun 2003 10:08:47 -0400
Andrew Overholt <overholt@redhat.com>
Re: Linux startup script
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 !

Thu, 5 Jun 2003 19:17:18 +0200
Darko Prenosil <darko.prenosil@finteh.hr>
Re: Linux startup script

Patch applied.  Thanks.

---------------------------------------------------------------------------


Darko Prenosil wrote:
> 	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"
> 	;;
> 
> In version 7.3.3 is missing "-l $PGLOG" at the end of "$DAEMON restart" 
> command.
> 
> 	Regards !
> 
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org
> 

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

Wed, 11 Jun 2003 22:02:44 -0400 (EDT)
Bruce Momjian <pgman@candle.pha.pa.us>
Re: Linux startup script