Re: Linux startup script - Mailing list pgsql-hackers

From Andrew Overholt
Subject Re: Linux startup script
Date
Msg-id 20030605140847.GA22551@redhat.com
Whole thread Raw
In response to Linux startup script  (Darko Prenosil <darko.prenosil@finteh.hr>)
List pgsql-hackers
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


pgsql-hackers by date:

Previous
From: "Rasmus Resen Amossen"
Date:
Subject: Re: Broken RR?
Next
From: "Nigel J. Andrews"
Date:
Subject: large objects